ftp:rename return codes

Hi Experts,

I have a scenario where I need to check the retrun codes of pub.client.ftp:rename built in service based on the Operating System the files are picked from. My question is whether the ftp rename command will return different return codes for different underlying OSs?
I am writing a generic code which will read ftp configuration parameters from a config file, login to that particular ftp host and rename the files and the next step is I need to check the ftp return code based on that I need to proceed further with my logic based on requiremnt.

Please help me out!! Thanks in advance.
Regards,
Datta

http://www.w3.org/Protocols/rfc959/A3_FTP_RFCs.html

RFC is your friend!

Hi DevNull43,

Form the below link
http://www.w3.org/Protocols/rfc959/A3_FTP_RFCs.html I could not able to find the exact differences between different OSs for the same ftp commands.
I have to find out if the same retrun code is returned by different OSs for the same ftp command. I am NOT able to test it bcoz I dont have access to those OSs.

Regards,
Datta

FTP reply codes are not OS dependent.

As reamon points out, FTP reply codes are NOT OS dependant.

If you talk about the text message written after the return code, that is another history.

The messages are neither OS dependant, but FTP server vendoer/version dependant. After the return code each FTP server can write any text they wish.

You just need to take care of the return code, and in the RFC you get them plus what they mean.