Dear friends,
We are using EDT FTP java package in our application to ftp to some lucent switches. Since these switches were upgraded from Fone TP server version to another our application fails for all switches except for one. These are behaviours when I quit with that one switch compared to others.
Sucessful FTP:
==========
ftp> quit
221 Goodbye.
Failed FTP
=======
ftp> quit
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 1838 bytes in 1 transfers.
221-Thank you for using the FTP service on ny-westbury1.
221 Goodbye.
This behavioral difference is causing FTP to fail with errors like - FileNotFoundException, FTPException, IOException etc.. and it's not consistent.
Question is: how can I make FTPClient to work successfully irrespective of what output I see after quit. We do settings like BINARY, PASV etc., Is there something like that can be done?
Your help appreciated in advance.
Thank you
- John