Monday, 7 January 2013

List of FTP commands


Below is a account of FTP commands that may be beatific to an FTP server, including all commands that are connected in RFC 959 by the IETF. All commands beneath are RFC 959-based unless declared otherwise. Note that a lot of command-line FTP audience present their own set of commands to users. For example, GET is the accepted user command to download a book instead of the raw command RETR.

Command RFC Description

ABOR Abort an alive book transfer

ACCT Account information

ADAT RFC 2228 Authentication/Security Data

ALLO Allocate acceptable deejay amplitude to accept a file

APPE Append.

AUTH RFC 2228 Authentication/Security Mechanism

CCC RFC 2228 Clear Command Channel

CDUP Change to Ancestor Directory

CONF RFC 2228 Confidentiality Protection Command

CWD RFC 697 Change alive directory

DELE Delete file.

ENC RFC 2228 Privacy Protected Channel

EPRT RFC 2428 Specifies an continued abode and anchorage to which the server should connect

EPSV RFC 2428 Enter continued acquiescent mode

FEAT RFC 2389 Get the affection account implemented by the server

HELP Help

LANG RFC 2640 Language Negotiation

LIST Returns advice of a book or agenda if specified, abroad advice of the accepted alive agenda is returned

LPRT RFC 1639 Specifies a continued abode and anchorage to which the server should connect

LPSV RFC 1639 Enter continued acquiescent mode

MDTM RFC 3659 Return the last-modified time of a defined file

MIC RFC 2228 Integrity Protected Command

MKD Make directory

MLSD RFC 3659 Lists the capacity of a agenda if a agenda is named

MLST RFC 3659 Provides abstracts about absolutely the article called on its command line, and no others

MODE Sets the alteration approach (Stream, Block, or Compressed)

NLST Returns a account of book names in a defined directory

NOOP No operation (dummy packet; acclimated mostly on keepalives)

OPTS RFC 2389 Select options for a feature

PASS Authentication password

PASV Enter acquiescent mode

PBSZ RFC 2228 Protection Buffer Size

PORT Specifies an abode and anchorage to which the server should connect

PROT RFC 2228 Data Channel Protection Level

PWD Print alive directory. Returns the accepted agenda of the host

QUIT Disconnect

REIN Re initializes the connection

REST RFC 3659 Restart alteration from the defined point

RETR Transfer a archetype of the file

RMD Remove a directory

RNFR Rename from.

RNTO Rename to

SITE Sends website specific commands to limited server

SIZE RFC 3659 Return the admeasurement of a file

SMNT Mount book structure

STAT Returns the accepted status

STOR Accept the abstracts and to abundance the abstracts as a book at the server site

STOU Store book uniquely

STRU Set book alteration structure

SYST Return arrangement type

TYPE Sets the alteration approach (ASCII/Binary)

USER Authentication username

XCUP RFC 775 Change to the ancestor of the accepted alive directory

XMKD RFC 775 Make a directory

XPWD RFC 775 Print the accepted alive directory

XRCP RFC 743

XRMD RFC 775 Remove the directory

XRSQ RFC 743

XSEM RFC 737 Send, mail if cannot

XSEN RFC 737 Send to terminal

No comments:

Post a Comment