public static interface Ftps.ConnectionStrategy
Modifier and Type | Method and Description |
---|---|
void |
authenticate(com.jscape.inet.ftps.FtpsClient client,
java.lang.String user,
java.lang.String password,
java.lang.String account)
Performs user authentication.
|
com.jscape.inet.ftps.FtpsClient |
createClient(Ftps source,
com.jscape.inet.util.ConnectionParameters parameters,
javax.net.ssl.SSLContext ctx,
java.lang.String[] enabledCiphers,
java.util.logging.Logger logger)
Creates an appropriate FTP client.
|
void authenticate(com.jscape.inet.ftps.FtpsClient client, java.lang.String user, java.lang.String password, java.lang.String account) throws FtpException
client
- the connected FTP clientuser
- the FTP user namepassword
- the FTP user passwordaccount
- the optional FTP accountFtpException
- if an I/O or protocol error occurscom.jscape.inet.ftps.FtpsClient createClient(Ftps source, com.jscape.inet.util.ConnectionParameters parameters, javax.net.ssl.SSLContext ctx, java.lang.String[] enabledCiphers, java.util.logging.Logger logger) throws FtpException
source
- the source Ftps instanceparameters
- the connection parametersctx
- the SSL contextenabledCiphers
- Ciphers enablelogger
- the loggerFtpException
- if an I/O or protocol error occursCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved