org.apache.camel.component.file.remote
Class FtpsOperations
java.lang.Object
org.apache.camel.component.file.remote.FtpOperations
org.apache.camel.component.file.remote.FtpsOperations
- All Implemented Interfaces:
- org.apache.camel.component.file.GenericFileOperations<org.apache.commons.net.ftp.FTPFile>, RemoteFileOperations<org.apache.commons.net.ftp.FTPFile>
public class FtpsOperations
- extends FtpOperations
FTP Secure (FTP over SSL/TLS) operations
- Version:
Constructor Summary |
FtpsOperations(org.apache.commons.net.ftp.FTPSClient client,
org.apache.commons.net.ftp.FTPClientConfig clientConfig)
|
Methods inherited from class org.apache.camel.component.file.remote.FtpOperations |
buildDirectory, changeCurrentDirectory, changeToParentDirectory, deleteFile, disconnect, existsFile, fastExistsFile, getCurrentDirectory, isConnected, listFiles, listFiles, releaseRetreivedFileResources, renameFile, retrieveFile, sendNoop, sendSiteCommand, setEndpoint, storeFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FtpsOperations
public FtpsOperations(org.apache.commons.net.ftp.FTPSClient client,
org.apache.commons.net.ftp.FTPClientConfig clientConfig)
connect
public boolean connect(RemoteFileConfiguration configuration)
throws org.apache.camel.component.file.GenericFileOperationFailedException
- Description copied from interface:
RemoteFileOperations
- Connects to the remote server
- Specified by:
connect
in interface RemoteFileOperations<org.apache.commons.net.ftp.FTPFile>
- Overrides:
connect
in class FtpOperations
- Parameters:
configuration
- configuration
- Returns:
- true if connected
- Throws:
org.apache.camel.component.file.GenericFileOperationFailedException
- can be thrown
getFtpClient
protected org.apache.commons.net.ftp.FTPSClient getFtpClient()
- Overrides:
getFtpClient
in class FtpOperations
Apache Camel