Class FtpsClientFactory
- java.lang.Object
-
- org.apache.commons.vfs2.provider.ftps.FtpsClientFactory
-
public final class FtpsClientFactory extends java.lang.Object
Create FTPSClient instances.- Since:
- 2.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.net.ftp.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.
-
-
-
Method Detail
-
createConnection
public static org.apache.commons.net.ftp.FTPSClient createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, FileSystemOptions fileSystemOptions) throws FileSystemException
Creates a new connection to the server.- Parameters:
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.- Returns:
- The FTPSClient.
- Throws:
FileSystemException
- if an error occurs.
-
-