public class FTPClientFactory
extends java.lang.Object
| Constructor and Description |
|---|
FTPClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ProFTPClientInterface |
createClient(Protocol protocol)
Create an FTP client that supports the supplied protocol.
|
static ProFTPClientInterface |
createClient(Protocol protocol,
boolean serverValidation)
Create an FTP client that supports the supplied protocol.
|
public static ProFTPClientInterface createClient(Protocol protocol) throws FTPException
protocol - file transfer protocol requiredFTPExceptionpublic static ProFTPClientInterface createClient(Protocol protocol, boolean serverValidation) throws FTPException
protocol - file transfer protocol requiredserverValidation - true if server validation required (recommended)FTPExceptionCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.