Below is a
list of that may be sent to an FTP FTP commands server, including all commands that are standardized in RFC 959 by the IETF. All commands below are RFC 959 based unless stated otherwise. Note that most command-line FTP clients present their own set of commands to users. For example, GET is the common user command to download a file instead of the raw command RETR.
Abort an active file transfer.
RFC 2228 Authentication/Security Data
Allocate sufficient disk space to receive a file.
RFC 2228 Authentication/Security Mechanism
RFC 2228 Clear Command Channel
Change to Parent Directory.
RFC 2228 Confidentiality Protection Command
Change working directory.
RFC 2228 Privacy Protected Channel
RFC 2428 Specifies an extended address and port to which the server should connect.
RFC 2428 Enter extended passive mode.
RFC 2389 Get the feature list implemented by the server.
Returns usage documentation on a command if specified, else a general help document is returned.
RFC 2640 Language Negotiation
Returns information of a file or directory if specified, else information of the current working directory is returned.
RFC 1639 Specifies a long address and port to which the server should connect.
RFC 1639 Enter long passive mode.
RFC 3659 Return the last-modified time of a specified file.
RFC 2228 Integrity Protected Command
RFC 3659 Lists the contents of a directory if a directory is named.
RFC 3659 Provides data about exactly the object named on its command line, and no others.
Sets the transfer mode (Stream, Block, or Compressed).
Returns a list of file names in a specified directory.
No operation (dummy packet; used mostly on keepalives).
RFC 2389 Select options for a feature.
Enter passive mode.
RFC 2228 Protection Buffer Size
Specifies an address and port to which the server should connect.
RFC 2228 Data Channel Protection Level.
Print working directory. Returns the current directory of the host.
Re initializes the connection.
Restart transfer from the specified point.
Retrieve a copy of the file
Remove a directory.
Sends site specific commands to remote server.
RFC 3659 Return the size of a file.
Mount file structure.
Returns the current status.
Accept the data and to store the data as a file at the server site
Store file uniquely.
Set file transfer structure.
Return system type.
Sets the transfer mode (
RFC 775 Change to the parent of the current working directory
RFC 775 Make a directory
RFC 775 Print the current working directory
RFC 775 Remove the directory
RFC 737 Send, mail if cannot
RFC 737 Send to terminal
See also [ edit ]
External links [ edit ]