[Python-Dev] Re: urllib.urlretrieve

Fredrik Lundh fredrik at pythonware.com
Thu Aug 26 23:28:28 CEST 2004


David Abrahams wrote:

> Is there a known reliability problem with urllib.urlretrieve?  I'm
> getting silent truncation of downloaded files.
>
> http://sourceforge.net/tracker/?func=detail&aid=1016880&group_id=5470&atid=105470
>
> has the details.

sourceforge is known to have reliability problems when downloading
large files.  here's a wget session on my machine (okay, it's not a silent
truncation, but SF is clearly not well):

18450K -> .......... .......... .......... .......... .......... [ 54%]
18500K -> .....                                                  [ 54%]

Closing fd 1944
23:11:52 (62.94 KB/s) - Connection closed at byte 18949128. Retrying.

--23:11:52--  http://cvs.sourceforge.net:80/cvstarballs/boost-cvsroot.tar.bz2
  (try: 2) => `boost-cvsroot.tar.bz2.3'
Connecting to cvs.sourceforge.net:80... Created fd 1944.
connected!
---request begin---
GET /cvstarballs/boost-cvsroot.tar.bz2 HTTP/1.0
User-Agent: Wget/1.5.3.1
Host: cvs.sourceforge.net:80
Accept: */*
Range: bytes=18949128-

---request end---
HTTP request sent, awaiting response... HTTP/1.1 502 Proxy Error
Date: Thu, 26 Aug 2004 21:10:04 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Content-Length: 441
Connection: close
Content-Type: text/html; charset=iso-8859-1


Closing fd 1944
23:11:57 ERROR 502: Proxy Error. 





More information about the Python-Dev mailing list