FTP Reply Codes
Below is a summary of the reply codes that may be returned by an FTP server. These codes have been standardized in RFC 959 by the IETF. As stated earlier in this article, the reply code is a three-digit value. The first digit is used to indicate one of three possible outcomes—success, failure or to indicate an error or incomplete reply:
- 2yz – Success reply
- 4yz or 5yz – Failure Reply
- 1yz or 3yz – Error or Incomplete reply
The second digit defines the kind of error:
- x0z – Syntax. These replies refer to syntax errors.
- x1z – Information. Replies to requests for information.
- x2z – Connections. Replies referring to the control and data connections.
- x3z – Authentication and accounting. Replies for the login process and accounting procedures.
- x4z – Not defined.
- x5z – File system. These replies relay status codes from the server file system.
The third digit of the reply code is used to provide additional detail for each of the categories defined by the second digit.
Read more about this topic: File Transfer Protocol
Famous quotes containing the words reply and/or codes:
“Someone once asked me why women dont gamble as much as men do, and I gave the common-sensical reply that we dont have as much money. That was a true but incomplete answer. In fact, womens total instinct for gambling is satisfied by marriage.”
—Gloria Steinem (b. 1934)
“I cannot help thinking that the menace of Hell makes as many devils as the severe penal codes of inhuman humanity make villains.”
—George Gordon Noel Byron (17881824)