Hello,
I am having problem getting the right reply code if any at all;
If for any reason the file I am trying to ftp in does not exist on the remote server I still get a 200 reply code....
Is there article with more detail informations about getLastValidReply()
thanks you
below is a typical scenario:
ftp> cd /tmp
250 CWD command successful.
ftp> cd /tmp
---> CWD /tmp
250 CWD command successful.
ftp> get testing
---> PORT x,x,x,x,x,x
200 PORT command successful.
---> RETR testing
550 testing: No such file or directory.
ftp>
I am expecting the last valid return code to be 550 and not 200