The following table briefly describes each FTP API call, and identifies where you can find the syntax, parameters, and other appropriate information for these calls.
File Transfer Protocol API Quick Reference
┌─────────────────────────────────────────────────────────────────┐ │FTP Call Description │ ├─────────────────────────────────────────────────────────────────┤ │ftpappend() Appends information to a remote file │ ├─────────────────────────────────────────────────────────────────┤ │ftpcd() Changes the current working directory on │ │ a host │ ├─────────────────────────────────────────────────────────────────┤ │ftpdelete() Deletes files on a remote host │ ├─────────────────────────────────────────────────────────────────┤ │ftpdir() Gets a directory in wide format from a │ │ host │ ├─────────────────────────────────────────────────────────────────┤ │ftpget() Gets a file from an FTP server │ ├─────────────────────────────────────────────────────────────────┤ │ftplogoff() Closes all current connections │ ├─────────────────────────────────────────────────────────────────┤ │ftpls() Gets directory information in short │ │ format from a remote host and writes it │ │ to a local file │ ├─────────────────────────────────────────────────────────────────┤ │ftpmkd() Creates a new directory on a target │ │ machine │ ├─────────────────────────────────────────────────────────────────┤ │ftpping() Resolves a host name and sends a ping to │ │ the remote host to determine if the host │ │ is responding │ ├─────────────────────────────────────────────────────────────────┤ │ftpproxy() Transfers a file between two remote │ │ servers without sending the file to the │ │ local host │ ├─────────────────────────────────────────────────────────────────┤ │ftpput() Transfers a file to an FTP server │ ├─────────────────────────────────────────────────────────────────┤ │ftpputunique() Transfers a file to a host and ensures it│ │ is created with a unique name │ ├─────────────────────────────────────────────────────────────────┤ │ftppwd() Stores the string containing the FTP │ │ server description of the current working│ │ directory on the host to the buffer │ ├─────────────────────────────────────────────────────────────────┤ │ftprename() Renames a file on a remote host │ ├─────────────────────────────────────────────────────────────────┤ │ftpquote() Sends a string to the server verbatim │ ├─────────────────────────────────────────────────────────────────┤ │ftpremsize() returns the size of a file on the remote │ │ server. │ ├─────────────────────────────────────────────────────────────────┤ │ftprestart() The ftprestart() call restarts an aborted│ │ transaction from the point of │ │ interruption. │ ├─────────────────────────────────────────────────────────────────┤ │ftprmd() Removes a directory on a target machine │ ├─────────────────────────────────────────────────────────────────┤ │ftpsite() Executes the site command │ ├─────────────────────────────────────────────────────────────────┤ │ftpsys() Stores the string containing the FTP │ │ server description of the operating │ │ system running on the host in a buffer │ ├─────────────────────────────────────────────────────────────────┤ │ftptrcoff() Closes the trace file, and stops tracing │ │ of the command and reply sequences that │ │ were sent over the control connection │ │ between the local and remote hosts │ ├─────────────────────────────────────────────────────────────────┤ │ftptrcon() Opens the trace file specified and starts│ │ tracing │ ├─────────────────────────────────────────────────────────────────┤ │ftpver() Stores the string containing the FTP API │ │ version │ ├─────────────────────────────────────────────────────────────────┤ │Keep_File_Date() Maintain the original date/time of files │ │ received. │ ├─────────────────────────────────────────────────────────────────┤ │ping() Sends a ping to the remote host to │ │ determine if the host is responding │ └─────────────────────────────────────────────────────────────────┘