FTP Server Return Codes

Firstly, the FTP server return codes are sent from the FTP server to the requesting device.  Moreover, this is to let the requesting device know where the connection stands. Furthermore, the FTP server is relaying to the requesting device where the connection process is and what to do next.

For instance, the FTP server return codes are three digits long. The first digit indicates whether the response is ok, not ok, or incomplete. Likewise, the second digit represents function grouping. Lastly, the third digit gives a more specific meaning of the function group specified in the second digit.

For example, listed below the most common FTP codes.  Furthermore, for a master list of FTP codes and commands, please visit The Internet Engineering Task Force (IETF®). Consequently, they are responsible for setting and maintaining the FTP server return codes.

FTP Server Return Codes

1nn Server Return Codes

1nn -  Initiation of requested action; expect another reply before proceeding with a new command.
2nn - Requested action has been successfully completed.
3nn - Command has been accepted, but the requested action is pending receipt of further information.
4nn - Command not accepted (Temporary).
5nn - Command not accepted (Permanent).

n0n Server Return Codes

n0n - Syntax
n1n - Information
n2n - Connection
n3n - Authentication
n4n - Not Specified
n5n - File System

150 - File status okay

200 Server Return Codes

200 - Command okay
202 - Command not implemented
212 - Directoy status
213 - File status
214 - Help message
220 - Service ready for new user
225 - Data connection open
226 - Closing data connection
227 - Entering passive mode
230 - User logged in
250 - Requested file action okay

300 Server Return Codes

331 - User name ok, need password
332 - Need account for login

400 Server Return Codes

421 - Service not available (most likely temporary)
425 - Can't open data connection
426 - Connection closed, transfer aborted

500 Server Return Codes

500 - Syntax error, command unrecognized
501 - Syntax error in parameters or arguments
503 - Bad sequence of commands
530 - User not logged in

Adobe Logo
Amazon Logo
Apple Logo
BBC Logo
Github Logo
GoDaddy Logo
Google Logo
Hulu Logo
LinkedIn Logo
Live Nation Logo
Microsoft Logo
Mozilla Logo
NBA Logo
Netflix Logo
Spotify Logo
Ticket Master Logo
Wikipedia Logo
Wordpress Logo