This is the FTP Server Return and Error Codes Table Cheat Sheet. The FTP server return codes always contain three digits, and each number has a special definition. The first digit will tell you if a server response is good, bad or incomplete.
FTP Server Return Codes
Requested action is being initiated, expect another reply before starting a new command.
Restart marker replay . Text is exact and not left to implementation.
Service ready in nnn minutes.
Data connection already open; transfer starting.
File status okay; about to open data connection.
The requested action has been successfully completed.
Command not implemented, superfluous at this site.
System status, or system help reply.
Help message. On how to use the server or the meaning of a command
NAME system type. Where NAME is an official system name from the IANA.
Service ready for new user.
Service closing control connection.
Data connection open; no transfer in progress.
Closing data connection. Requested file action successful (transfer or abort).
Entering Passive Mode (h1,h2,h3,h4,p1,p2).
Entering Long Passive Mode (long address, port).
Entering Extended Passive Mode (|||port|).
User logged in, proceed. Logged out if appropriate.
User logged out; service terminated.
Logout command noted, will complete when transfer done.
Specifies that the server accepts the authentication mechanism specified by the client, and the exchange of security data is complete. A higher level nonstandard code created by.
Requested file action okay, completed.
The command has been accepted, but the requested action is on hold, pending receipt of further information.
User name okay, need password.
Need account for login.
Requested file action pending further information
The command was not accepted and the requested action did not take place, but the error condition is temporary and the action may be requested again.
Service not available, closing control connection. This may be a reply to any command if the service knows it must shut down.
Can’t open data connection.
Connection closed; transfer aborted.
Invalid username or password
Requested host unavailable.
Requested file action not taken.
Requested action aborted. Local error in processing.
Requested action not taken. Insufficient storage space in system.File unavailable (e.g., file busy).
Syntax error, command unrecognized and the requested action did not take place. This may include errors such as command line too long.
Syntax error in parameters or arguments.
Command not implemented.
Bad sequence of commands.
Command not implemented for that parameter.
Not logged in.
Need account for storing files.
Could Not Connect to Server – Policy Requires SSL
Requested action not taken. File unavailable (e.g., file not found, no access).
Requested action aborted. Page type unknown.
Requested file action aborted. Exceeded storage allocation (for current directory or dataset).
Requested action not taken. File name not allowed.
Replies regarding confidentiality and integrity
Integrity protected reply.
Confidentiality and integrity protected reply.
Confidentiality protected reply.
Common Winsock Error Codes
Connection reset by peer. The connection was forcibly closed by the remote host.
Cannot connect to remote server.
Cannot connect to remote server. The connection is actively refused by the server.
Directory not empty.
Too many users, server is full.
DISCLAIMER: The following data is posted for informational and archiving purposes only. By viewing this information, you release the author from any responsibility or liabilities. Use at your own risk.
posted by THE11thROCK for TeraBlitz.com