[issue27973] urllib.urlretrieve() fails on second ftp transfer

Senthil Kumaran report at bugs.python.org
Fri Sep 16 10:01:27 EDT 2016


Senthil Kumaran added the comment:

Hi Sohaib,

I will get the proper fix for this issue. 

A comment on the patch. Changing the API to `def open(self, fullurl, data=None, ftp_retrieve=False):`  just breaks the abstraction of the open method and may not be the way to go for this. Any changes that is required should be within the FTPHandler classes.

----------

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


More information about the Python-bugs-list mailing list