List of raw FTP commands

Information on ASP, ASP.NET, PHP, HTML, Javascript and anything else WWW related.

List of raw FTP commands

Postby Buck on Tue Nov 04, 2008 7:27 pm

These come in use more often than not. Expecially if you are trying to create FTP scripts.

(Warning: this is a technical document, not necessary for most FTP use.)
Note that commands marked with a * are not implemented in a number of FTP servers.


Common commandsABOR - abort a file transfer
CWD - change working directory
DELE - delete a remote file
LIST - list remote files
MDTM - return the modification time of a file
MKD - make a remote directory
NLST - name list of remote directory
PASS - send password
PASV - enter passive mode
PORT - open a data port
PWD - print working directory
QUIT - terminate the connection
RETR - retrieve a remote file
RMD - remove a remote directory
RNFR - rename from
RNTO - rename to
SITE - site-specific commands
SIZE - return the size of a file
STOR - store a file on the remote host
TYPE - set transfer type
USER - send username

Less common commands

ACCT* - send account information
APPE - append to a remote file
CDUP - CWD to the parent of the current directory
HELP - return help on using the server
MODE - set transfer mode
NOOP - do nothing
REIN* - reinitialize the connection
STAT - return server status
STOU - store a file uniquely
STRU - set file transfer structure
SYST - return system type

This was/is originally posted here:
http://www.nsftools.com/tips/RawFTP.htm
User avatar
Buck
 
Posts: 22
Joined: Wed Oct 29, 2008 10:25 pm

Return to Web Site Assistance

Who is online

Users browsing this forum: No registered users and 1 guest

cron