org.apache.camel.component.file.remote
Class FtpsOperations

java.lang.Object
  extended by org.apache.camel.component.file.remote.FtpOperations
      extended by 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:

Field Summary
 
Fields inherited from class org.apache.camel.component.file.remote.FtpOperations
client, clientConfig, endpoint, log
 
Constructor Summary
FtpsOperations(org.apache.commons.net.ftp.FTPSClient client, org.apache.commons.net.ftp.FTPClientConfig clientConfig)
           
 
Method Summary
 boolean connect(RemoteFileConfiguration configuration)
          Connects to the remote server
protected  org.apache.commons.net.ftp.FTPSClient getFtpClient()
           
 
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
 

Constructor Detail

FtpsOperations

public FtpsOperations(org.apache.commons.net.ftp.FTPSClient client,
                      org.apache.commons.net.ftp.FTPClientConfig clientConfig)
Method Detail

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