Status messages from the File Transfer Protocol server

 

When you enter subcommands during a File Transfer Protocol (FTP) client session, status messages return to your display in a 3-digit code: xyz. Each digit has certain values that indicate a different status.

The first digit (x) tells you whether the response is good, bad, or incomplete. There are five values for the first digit:

The second digit (y) tells you the functional category of the response.

The third digit (z) tells you a finer level of detail about the functional category.

The following table describes the common reply codes and what they indicate. The message text might vary for different systems.

Code Meaning
110 Restart the marker reply
120 Service is ready in nnn minutes
125 Data connection is already open; transfer is starting
150 File starting OK; about to open the data connection
200 Command OK
202 Command was not implemented; it is not used on this system
211 System status, or system help reply
212 Directory status
213 File status
214 Help message
220 Service is ready for a new user
226 Closing the data connection; the requested file action was successful
230 User is logged in
250 Requested file action was okay; action is completed
257 Path name was created
331 Password is required
332 Account is required
425 Cannot open the data connection
426 Connection is closed; the transfer ended abnormally
450 Requested file action was not taken; file busy
451 Requested action ended abnormally; local error in processing
452 Requested action was not taken; insufficient storage exists in system
500 Syntax error; command was unrecognized
501 Syntax error in the parameters or arguments
502 Command was not implemented
503 Bad sequence of commands
504 Command was not implemented for that parameter
530 Logon attempt was rejected
532 Need an account for storing files
550 Requested action was not taken; the file was not found (or no access)
551 Requested action ended abnormally; the page type is unknown
552 Requested file action ended abnormally; storage allocation was exceeded
553 Requested action was not taken; the file name is not allowed

 

Parent topic:

File Transfer Protocol reference information
Related reference
File Transfer Protocol server subcommands File Transfer Protocol client subcommands