FTP Response Codes
As a response to FTP Client’s command, FTP server replys with a three digit response code and text explaining the response code.
What does first digit of FTP response code means?
Following are the meaning of the values for the first digit of the FTP response code.
First digit | Meaning |
---|---|
1xx | The requested action is being initiated, expect another reply before proceeding with a new command. |
2xx | A positive completion reply. The requested action has been successfully completed by FTP server. A new request may be initiated. |
3xx | A positive immediate reply after which the FTP client has to perform a concrete action. An example is for authentication, after entering a username, a password is required. |
4xx | Transient Negative Completion reply. The command was not accepted and the requested action did not take place. A temporary error and the client may request action again. |
5xx | A permanent negative completion reply. The command was not accepted and the requested action did not take place. |
6xx | Protected reply based on RFC 2228. |
Important FTP response codes
Following table lists important FTP response codes.
FTP response Code | Description |
---|---|
Starting with 1xx | |
100 | The requested action is being initiated, expect another reply before proceeding with a new command |
110 | Restart marker reply |
120 | Service ready in nnn minutes |
125 | Data connection already open; transfer starting |
150 | File status okay; about to open data connection |
Starting with 2xx | |
200 | Command okay |
202 | Command not implemented, superfluous at this site |
211 | System status, or system help reply |
212 | Directory status |
213 | File status |
214 | Help message to end user |
215 | NAME system type; For example, UNIX emulated by FileZilla |
220 | Service ready for new user |
221 | Service closing control connection |
225 | Data connection open; no transfer in progress |
226 | Closing data connection. Requested file action successful |
227 | Entering Passive Mode |
230 | User logged in, proceed |
250 | Requested file action okay, completed |
257 | PATHNAME created |
Starting with 3xx | |
331 | User name okay, need password |
332 | Need account for login |
350 | Requested file action pending further information |
Starting with 4xx | |
421 | Service not available, closing control connection |
425 | Cant open data connection |
426 | Connection closed; transfer aborted |
450 | Requested file action not taken |
451 | Requested action aborted. Local error in processing |
452 | Requested action not taken. Insufficient storage space in system or File unavailable |
Starting with 5xx | |
500 | Syntax error, command unrecognized |
501 | Syntax error in parameters or arguments |
502 | Command not implemented. For example, Explicit TLS authentication not allowed |
503 | Bad sequence of commands |
504 | Command not implemented for that parameter |
530 | Not logged in |
532 | Need account for storing files |
550 | Requested action not taken |
551 | Requested action aborted. Page type unknown |
552 | Requested file action aborted. Exceeded storage allocation |
553 | Requested action not taken. File name not allowed |
600 | Series Replies regarding confidentiality and integrity |
Starting with 6xx | |
631 | Integrity protected reply |
632 | Confidentiality and integrity protected reply |
633 | Confidentiality protected reply |