[issue25458] ftplib: command response shift - mismatch

Ivan Pozdeev report at bugs.python.org
Fri Dec 9 07:16:32 EST 2016


Ivan Pozdeev added the comment:

The current solution looks fishy to me. We should stick to https://tools.ietf.org/html/rfc959 . In particular, 226 is sent when the server closes the auxiliary socket, so the module should react accordingly. Debug printing and/or issuing warnings is an obvious no-go.

Also attached a text file illustrating the problem.

----------
Added file: http://bugs.python.org/file45813/ftp_error_illustration.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25458>
_______________________________________


More information about the Python-bugs-list mailing list