Community
Participate
Working Groups
build 0527 if you don't turn off ftp server messages at the end of the transfer you may receive a summary message, or an introduction message. This will result in the ftp client throwing an exception when nothing wrong has happened. It is confusing because most of the time the transfer was successful. ================ This was shown in an error dialog after performing a get ====== You have transfered XXX bytes 221 - Total traffic for this session 221 - Thank you for using the ftp server at XXXX 221 Goodbye
I get the messages all the time with no exception being thrown (observed using tracing). Are you using passive mode?
*** Bug 18401 has been marked as a duplicate of this bug. ***
I'm not using passive mode. But this is happening to others as well. Why don't we simply turn-off information messages?
later
Is the connection still alive once the "get" finishes? Perhaps the server is closing the connection on us (idle timeout or similar server policy). Try sending a NOOP command after the RETR command completes and see if you get the 221 there. (So you'd see the bogus 221 after the next command initiated) Certainly we handle the 221 just fine after a QUIT. But receiving 221 as a result of a command other than QUIT _is_ a legitimate failure case (although not to spec) that should be reported because the operation that was just requested could not have completed.
This bug has not been touched in 2 years. Closing as WONTFIX. If you feel this bug is important, feel free to reopen it.