public final class FtpsClientFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static FTPSClient |
createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
java.lang.String workingDirectory,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server.
|
public static FTPSClient createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
java.lang.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.