Below is the list of FTP commands that EFT Server supports and will give a known response to, followed by a few commands that it recognizes, but gives an error message of "202 Command not implemented, superfluous at this site."
For more information about FTP commands, see RFC959 at http://faqs.org/rfcs/rfc959.html.
Command |
Description |
ABOR |
Abort a file transfer |
ALLO |
Allocates sufficient storage space to receive a file ALLO size [R max-record-size] |
APPE |
Append data to the end of a file on the remote host APPE remote-filename |
AUTH |
Used to initiate an SSL encrypted session |
CCC |
(clear command channel for FTPS transfers) |
CDUP |
Change working directory to the parent of the current directory |
COMB |
Combines file segments into a single file on the server |
CWD |
Change working directory CWD remote-directory |
DELE |
Delete remote file |
FEAT |
List all FTP features that the server supports |
HELP |
Display a list of all available FTP commands |
LIST |
Send list of file names and details |
MDTM |
Display date/time file was modified, in the format YYYYMMDDhhmmss. YYYY is the four-digit year, MM is the month from 01 to 12, DD is the day of the month from 01 to 31, hh is the hours from 00 to 23, mm is the minutes from 00 to 59, and ss is the seconds from 00 to 59. |
MKD |
Create (make) a remote directory |
MLSD |
Display an abbreviated list of a remote directory's files and subdirectories |
MLST |
Display detailed file or directory information |
MODE |
Sets the mode in which data is to be transferred to one of the following: S - Stream Z - Compressed The default mode is Stream. (only "s" or "z" are supported) |
NLST |
Send list of file names (no details) |
NOOP |
Do nothing; often used to keep the session alive. |
OPTS |
Used to specify optional parameters for the command that follows the OPTS command, if that command supports such optional parameters. (The commands "mslt" and "mode z level X," where x=1-9, are supported.) |
PASS |
Send password PASS <password> |
PASV |
Enter passive mode |
PBSZ |
If EFT Server receives this command, it sets it to 0. |
PORT |
Specifies the host and port to which the server should connect for the next file transfer. |
PROT |
Used to set the protection level to be used for data transfers. PROT P is used to secure the data channel; PROT C is used to clear the data channel. |
PWD |
Display current directory (print working directory) |
QUIT |
Closes the connection and terminates the FTP session. |
REIN |
Reinitialize the connection and cancels the current user/password/account information |
REST |
Sets the point at which a file transfer should start REST position |
RETR |
Begins transmission of a file from the remote host. Must be preceded by either a PORT command or a PASV command to indicate where the server should send data. RETR remote-filename |
RMD |
Deletes the named directory on the remote host RMD remote-directory |
RNFR |
Rename from (followed by an RNTO command to specify the new name for the file) RNFR from-filename |
RNTO |
Rename to (after sending an RNFR command to specify the file to rename, this command is used to specify the new name for the file) RNTO to-filename |
SITE |
Site-specific commands SITE site-specific-command |
SIZE |
Display size of a file SIZE remote-filename |
SSCN |
(extension for secure site-to-site transfers) |
STAT |
Display server status STAT [remote-filespec] |
STOR |
Begins transmission of a file to the remote site. Must be preceded by either a PORT command or a PASV command so that the server knows from where to accept data. STOR remote-filename |
STOU |
Begins transmission of a file to the remote site; the remote filename will be unique in the current directory. |
SYST |
Displays a string of "215 UNIX Type: L8" |
TYPE |
Sets the type of file to be transferred. TYPE type-character [second-type-character] "type-character" can be A (ASCII text) or I (image, binary data) The second-type-character specifies how the text should be interpreted. It can be N (Non-print; not destined for printing. This is the default if second-type-character is omitted), T (Telnet format control <CR>, <FF>, etc.), or C (ASA Carriage Control). |
USER |
Send username USER username |
XCUP |
(same as CDUP) |
XCWD |
(same as CWD) |
XMKD |
(same as MKD) |
XNOP |
(same as NOOP) |
XPWD |
(same as PWD) |
XRMD |
(same as RMD) |
XCRC |
Compute CRC32 checksum on specified file |
The following commands are recognized, but not supported:
Command |
Description |
ACCT |
(Account) Send account information |
SMNT |
(Structure mount) Mount a different file system data structure without altering login or accounting information |
STRU |
(File Structure) Set file transfer structure |