This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Sohaib Ahmad
Recipients Sohaib Ahmad, gson, orsenthil, r.david.murray
Date 2016-09-16.11:39:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474025954.94.0.849592531972.issue27973@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch fixes the problem with multiple ftp downloads while keeping the fix for issue1067702 intact.

The fix basically uses a new parameter ftp_retrieve to change the behavior of ftpwrapper.retrfile() if it is being called by urlretrieve().

I am not familiar with the process of contributing a patch in Python repo so please review and commit the attached urllib.patch file.

Tested with urlopen (https, http, ftp) and urlretrieve (ftp).
History
Date User Action Args
2016-09-16 11:39:14Sohaib Ahmadsetrecipients: + Sohaib Ahmad, orsenthil, r.david.murray, gson
2016-09-16 11:39:14Sohaib Ahmadsetmessageid: <1474025954.94.0.849592531972.issue27973@psf.upfronthosting.co.za>
2016-09-16 11:39:14Sohaib Ahmadlinkissue27973 messages
2016-09-16 11:39:14Sohaib Ahmadcreate