public final class FtpsClientFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static KeyManager |
clientKeyManager |
protected static TrustManager |
clientTrustManager |
protected static String |
KEY_PASSWD |
protected static String |
KEYSTORE |
protected static String |
KS_PASSWD |
protected static String |
TRUSTSTORE |
protected static String |
TS_PASSWD |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.net.ftp.FTPSClient |
createConnection(String hostname,
int port,
char[] username,
char[] password,
String workingDirectory,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server.
|
static org.apache.commons.net.ftp.FTPSClient |
createConnection(String hostname,
int port,
char[] username,
char[] password,
String workingDirectory,
FileSystemOptions fileSystemOptions,
Integer defaultTimeout)
Creates a new connection to the server.
|
protected static String KS_PASSWD
protected static String TS_PASSWD
protected static String KEY_PASSWD
protected static String KEYSTORE
protected static String TRUSTSTORE
protected static KeyManager clientKeyManager
protected static TrustManager clientTrustManager
public static org.apache.commons.net.ftp.FTPSClient createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) throws FileSystemException
hostname - The host name.port - The port.username - The user name for authentication.password - The user's password.workingDirectory - The directory to use.fileSystemOptions - The FileSystemOptions.FileSystemException - if an error occurs.public static org.apache.commons.net.ftp.FTPSClient createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions, Integer defaultTimeout) throws FileSystemException
hostname - The host name.port - The port.username - The user name for authentication.password - The user's password.workingDirectory - The directory to use.fileSystemOptions - The FileSystemOptions.defaultTimeout - default timeout for the ftps connectionFileSystemException - if an error occurs.Copyright © 2002–2018 WSO2. All rights reserved.