This article explains the use of FTP commands: RMDA, XRMD, REST, RNFR, RNTO, THMB
All Serv-U versions
RMDA FTP command
RMDA command allows clients to perform a recursive delete operation a directory using a single command. Typically deleting a directory with many subdirectories and files will force the user to wait for the client to issue
RMD commands to each file and directory, preventing the user from doing any work until the operations are completed. Issuing the
RMDA command unloads that operation to the server, allowing the client to continue working unhindered.
XRMD FTP command
XDEL deletes the specified directory on the server, and is a duplicate of the
RMD command. It is implemented because some firewalls assume that all FTP characters must be 4 characters in length.
REST FTP command
REST command is used to specify a marker to the server for the purposes of resuming a file transfer. Issuing the
REST command does not actually initiate the transfer. After issuing a
REST command, the client must send the appropriate FTP command to transfer the file. The server will use the marker specified in the
REST command to resume file transfer at the specified point.
RNFR FTP command
RNFR command is issued when an FTP client wants to rename a file on the server. The client specifies the name of the file to be renamed along with the command. After issuing an
RNFR command, an
RNTO command must immediately follow.
RNTO FTP command
RNTO command is used to specify the new name of a file specified in a preceding
RNFR (Rename From) command.
THMB FTP command
THMB command allows clients to view a small thumbnail copy of an image before downloading the full image. When the
THMB command is issued, the server dynamically generates thumbnails of the specified size and sends the images to the client, using far less bandwidth than would be necessary to send the whole image.