[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Fixed in Python 3, Python 2 past EOL. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2016-12-14 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: Was fixed in c741ba9e37ef (3.2) . urllib gets around the ftplib issue by closing the session after each transfer. -- ___ Python tracker

[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2016-12-14 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I can't reproduce the issue on Python 3.5 (but I can on 2.7). -- nosy: +giampaolo.rodola versions: -Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2016-12-10 Thread Ivan Pozdeev
Changes by Ivan Pozdeev : Added file: http://bugs.python.org/file45845/105577.patch ___ Python tracker ___

[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2016-12-10 Thread Ivan Pozdeev
Changes by Ivan Pozdeev : -- keywords: +patch Added file: http://bugs.python.org/file45840/105577.patch ___ Python tracker ___

[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2016-12-10 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: The attached patch fixes this case. It still leaves the following problem: >>> u=urllib.urlopen("ftp://ftp.zlatkovic.com/pub/libxml/md5sum.txt;).read() >>> urllib.urlretrieve("ftp://ftp.zlatkovic.com/pub/libxml/md5sum.txt","t.bin;) Traceback (most recent call

[issue28931] urllib ignores FTP 226 response, breaking further FTP requests

2016-12-10 Thread Ivan Pozdeev
New submission from Ivan Pozdeev: >>> urllib.urlretrieve("ftp://ftp.zlatkovic.com/pub/libxml/md5sum.txt","t.bin;) ('t.bin', ) >>> urllib.urlretrieve("ftp://ftp.zlatkovic.com/pub/libxml/md5sum.txt","t.bin;) Traceback (most recent call last): File "", line 1, in File "C:\Py\lib\urllib.py",