1752633 Members
5789 Online
108788 Solutions
New Discussion юеВ

Re: ftp codes

 
john nikho
New Member

ftp codes

While in a ftp session each command entered creates a code and a some kind of description. Where can I get the entire list of FTP codes and their meaning. For example:
220 wdntftp Microsoft FTP Service (Version 5.0).
331 Password required for paftp.
230-Welcome to ftp.infores.com
230 User paftp logged in.
Remote system type is Windows_NT.
Interactive mode off.
200 Type set to I.
250 CWD command successful.
250 CWD command successful.
200 PORT command successful.
550 junk: Access is denied.
550 ../tom: The system cannot find the file specified.
250 CWD command successful.
221 see ya....
2 REPLIES 2
Adi Kremer
Occasional Advisor

Re: ftp codes

You can have a good start if you go to: http://www.nexor.com/index-rfc.htm

and ask for rfc number 640. It has all the codes and explanations
James R. Ferguson
Acclaimed Contributor

Re: ftp codes

John:

See the man pages for ftpd. Believe it or not, each digit of the code has significance. For instance, the first digit indicates whether the reply is good, bad or incomplete. Do not rely on the exact text associated with each code, as it will differ on different OS platforms (UNIX, NT, etc.).

...JRF...