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 as
RFC 2389 Select options for a feature.
OPTS_UTF8 or OPTS <SP> UTF-8
RFC 2026 (Draft 2002) UTF-8 Option for FTP
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-initialize 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 data and store 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 directory.
RFC 775 Print current working directory.
RFC 775 Remove directory.
RFC 737 Send, mail if cannot.
RFC 737 Send to terminal.
See also [ edit ]
External links [ edit ]