[ python-Bugs-1016880 ] urllib.urlretrieve silently truncates
downloads
SourceForge.net
noreply at sourceforge.net
Thu Aug 26 19:10:00 CEST 2004
Bugs item #1016880, was opened at 2004-08-26 08:58
Message generated for change (Comment added) made by rhettinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1016880&group_id=5470
>Category: Python Library
Group: None
Status: Open
Resolution: None
>Priority: 6
Submitted By: David Abrahams (david_abrahams)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib.urlretrieve silently truncates downloads
Initial Comment:
The following script appears to be unreliable on all
versions of Python we can find. The file being
downloaded is approximately 34 MB. Browsers such as
IE and Mozilla have no problem downloading the whole
thing.
----
import urllib
import os
os.chdir('/tmp')
urllib.urlretrieve
('http://cvs.sourceforge.net/cvstarballs/boost-
cvsroot.tar.bz2',
'boost-cvsroot.tar.bz2')
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2004-08-26 12:09
Message:
Logged In: YES
user_id=80475
Confirmed. On Py2.4 (current CVS), I got 12.7 Mb before the
connection closed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1016880&group_id=5470
More information about the Python-bugs-list
mailing list