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 - 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 - Syntax
n1n - Information
n2n - Connection
n3n - Authentication
n4n - Not Specified
n5n - File System
150 - File status okay
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
331 - User name ok, need password
332 - Need account for login
421 - Service not available (most likely temporary)
425 - Can't open data connection
426 - Connection closed, transfer aborted
500 - Syntax error, command unrecognized
501 - Syntax error in parameters or arguments
503 - Bad sequence of commands
530 - User not logged in
IP Commands for DOS/Windows - Windows and DOS IP commands including ipconfig, trace route, netstat, arp, route, hostname, control netconnections