FtpCopyDelegate for copying operations which require to FTP connections, one for reading the
source file and another for writing into the target pathFtpFileSystem.client to complete any pending commands.FtpFileSystem.awaitCommandCompletion() to make sure that the operation is completed before closing the
streamFtpFileSystem.client's current working directory to the base pathpathpathFtpInputStream for FTP connectionsFtpFileSystemFtpCopyDelegate.doCopy(FileConnectorConfig, FileAttributes, Path, boolean) to perform the actual
copying logicsourcePath into the targetPath.directoryPathpath, provided that it's not lockedFtpFileSystem.disconnect() method on the given ftpFileSystemFTPClient.logout() and FTPClient.disconnect() on the provided
FtpFileSystem.client.directoryPath also creating any missing parent directoriesFileCommand implementations that target a FTP/SFTP serverConnectionException implementation to declare connectivity errors in the FtpConnectorFtpCommand which implements the CopyCommand contractFtpCommand which implements the CreateDirectoryCommandAbstractFileSystem for files residing on a FTP serverAbstractFileInputStream implementation which obtains a FtpFileSystem through a ConnectionManager and
uses it to obtain the contents of a file on a FTP server.FtpCommand which implements the ListCommand contractFtpCommand which implements the MoveCommand contractFtpCommand which implements the FtpReadCommandFtpCommand which implements the RenameCommandFtpCommand which implements the WriteCommand contractFtpCommand.getFile(String) but throwing an IllegalArgumentException if the
filePath doesn't existFtpFileAttributes for the given filePath by using the FTPClient.mlistFile(String) FTP
commanddirectoryPath which match the given matcher.directoryName in the current working directorysourcePath into the targetPath.FtpCommand which implements support functionality for FtpDirectoryListenerfilePath to newName.filePath to newName.path to the name provided on the to parameterfilePayload.FtpFileSystem.clientFtpFileSystem.clientFtpFileSystem.validateConnection()content into the file pointed by path.Copyright © 2018 MuleSoft, Inc.. All rights reserved.