public final class FtpsClientFactory extends Object
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.
|
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.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.