Functions10 public, 2 private

Recursively delete the specified directory and its content. This function may throw exceptions.
publicvoidftpDirectoryDelete
Handle or credentials for the FTP connection.
requiredanyftpConnection
Directory on the remote machine to delete.
requiredstringdirectory
Downloads the specified directory and its content recursively. This function may throw exceptions.
publicqueryftpDirectoryDownload
Handle or credentials for the FTP connection.
requiredanyftpConnection
Directory on the remote machine to download from.
requiredstringdirectoryRemote
Directory on the local machine to download to.
requiredstringdirectoryLocal
structOPTIONS{}
optionin secondstimeout30
Renames the specified directory. This function may throw exceptions.
publicvoidftpDirectoryRename
Handle or credentials for the FTP connection.
requiredanyftpConnection
Present name of the directory.
requiredstringdirectoryOld
Desired name of the directory.
requiredstringdirectoryNew
Uploads the specified directory and its content recursively. This function may throw exceptions.
publicqueryftpDirectoryUpload
Handle or credentials for the FTP connection.
requiredanyftpConnection
Directory on the local machine to copy from.
requiredstringdirectoryLocal
Directory on the remote machine to copy to.
requiredstringdirectoryRemote
structOPTIONS{}
Downloads the specified files. This function may throw exceptions.
publicqueryftpDownloadFiles
Handle or credentials for the FTP connection.
requiredanyftpConnection
Directory on the remote machine to download from.
requiredstringdirectoryRemote
Directory on the local machine to download to.
requiredstringdirectoryLocal
requiredarrayfiles
structOPTIONS{}
Lists all contents of the specified directory. This function may throw exceptions.
publicqueryftpListDirectory
requiredanyftpConnection
requiredstringremoteDir
booleanrecursefalse
structOPTIONS{}
optionin secondstimeout30
publicanyftpPrepareCredentials
requiredarray, struct, stringcredentials
publicstringftpFileRead
Handle or credentials for the FTP connection.
requiredanyftpConnection
File on the remote machine to read.
requiredstringremoteFile
structOPTIONS{}
optionin secondstimeout30
publicbinaryftpFileReadBinary
Handle or credentials for the FTP connection.
requiredanyftpConnection
File on the remote machine to read.
requiredstringremoteFile
structOPTIONS{}
optionin secondstimeout30
Uploads the specified files. This function may throw exceptions.
publicqueryftpUploadFiles
Handle or credentials for the FTP connection.
requiredanyftpConnection
Directory on the local machine to upload from.
requiredstringdirectoryLocal
Directory on the remote machine to upload to.
requiredstringdirectoryRemote
requiredarrayfiles
structOPTIONS{}