On Tuesday 07 June 2005 12:31 pm, Soumen Chakrabarti wrote:
> Use a Web server that gives a correct content-length for large files.
> Create a large file.  A lynx listing shows:
>
> [   ]  bigf                    18-May-2005 15:01  931G
>
> And the raw HTTP header is fine as well:
>
> HTTP/1.1 200 OK
> Date: Tue, 07 Jun 2005 17:25:27 GMT
> Server: Apache/2.1.3 (Unix) mod_ssl/2.1.3 OpenSSL/0.9.7a DAV/2 SVN/1.1.4
> Last-Modified: Wed, 18 May 2005 09:31:55 GMT
> ETag: "2a8042-d4a51001-28e1b8c0"
> Accept-Ranges: bytes
> Content-Length: 1000000000001
> Connection: close
> Content-Type: text/plain
>
> But wget messes up:
>
> Connecting to <ipaddr>:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: -727,379,967 [text/plain]
>     [ <=>                                 ] 1,102         --.--K/s
> 22:29:05 (10.51 MB/s) - `bigf' saved [1102/-727379967])
>
> The actual file length is 1102 on disk after wget exits.

hi soumen,

unfortunately, wget 1.9.1 does not have long file support. this feature has 
been added recently to wget 1.10, which i am going to release tonight or 
tomorrow morning at most.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                          http://www.tortonesi.com

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
Institute for Human & Machine Cognition  http://www.ihmc.us
GNU Wget - HTTP/FTP file retrieval tool  http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it

Reply via email to