File Transfer Protocol Server Commands  
 
Command Description
ABOR Abort the current file transfer
APPE filename Append data to a file on the server
AUTH TLS Enable optional SSL or TLS security for the control and data channels
CDUP Change the current working directory to the parent directory
CWD directory Change the current working directory to the specified directory
DELE filename Delete the specified file on the server
FEAT Return a list of the features supported by the server
LIST [directory] Return a list of the files in the specified directory or the current directory
MDTM filename Return the modification time for the specified file
MKD directory Create the specified directory on the server
MLSD [directory] Return a list of the files in the specified directory or the current directory
MLST filename Return information about a specific file on the server
NLST [directory] Returns a list of file names in the specified directory or the current directory
NOOP Does not perform any function other than respond to the client.
PASS password Specifies the password to authenticate the current client session
PASV Instructs the server to use passive mode for the next data transfer
PORT a1,a2,a3,a4,p1,p2 Instructs the server to use active mode for the next data transfer and specifies the IP address and port number
PWD Return the current working directory
QUIT Close the control channel and terminate the client session
REIN Reinitialize the control channel and require the client to re-authenticate
REST offset Restart the next data transfer at the specified byte offset
RETR filename Open a data channel and send the contents of the specified file to the client
RMD directory Remove the specified directory on the server
RNFR old-filename The first command in a sequence to rename or move a file on the server
RNTO new-filename The second command in a sequence to rename or move a file on the server
SITE command Execute a site-specific command
SIZE filename Return the size of the specified file in bytes
STAT [filename] Return general status information about the server or information about the specified file
STOR filename Open a data channel and store the data sent by the client in the specified file
STOU Open a data channel and store the data sent by the client in a file with a unique name
SYST Returns information used to identify the server operating system
TYPE file-type Specifies the type of data being exchanged with the server
USER username Specifies the username used to authenticate the current client session