[issue25458] ftplib: command response shift - mismatch

Ivan Pozdeev report at bugs.python.org
Fri Dec 9 12:33:11 EST 2016


Ivan Pozdeev added the comment:

Found the root problem: a 1xx response doesn't complete a LIST command, it should wait further for a 2xx one. See RFC 959 section 6 (state diagrams).

This could be `urllib`'s rather than `ftplib`'s fault: the former calls low-level subroutines of the latter.

----------
Added file: http://bugs.python.org/file45820/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