Message276700
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). |
|
| Date |
User |
Action |
Args |
| 2016-09-16 11:39:14 | Sohaib Ahmad | set | recipients:
+ Sohaib Ahmad, orsenthil, r.david.murray, gson |
| 2016-09-16 11:39:14 | Sohaib Ahmad | set | messageid: <[email protected]> |
| 2016-09-16 11:39:14 | Sohaib Ahmad | link | issue27973 messages |
| 2016-09-16 11:39:14 | Sohaib Ahmad | create | |
|