"Sanjay Madhavan" <[EMAIL PROTECTED]> writes:

> wget 1.9.1 fails when trying to download a very large file.
>  
> The download stopped in between and attempting to resume shows a negative
> sized balance to be downloaded.
>  
> e.g.ftp://ftp.solnet.ch/mirror/SuSE/i386/9.2/iso/SUSE-Linux-9.2-FTP-DVD.iso  
> 3284710 KB
>  
> I read somewhere that it is due to the fact that internally the size
> is being stored as signed integers and hence the numbers wrap around
> giving negative sizes for large (DVD sized files)

That is correct.  But this problem has been fixed in the current CVS.
If you know how to use CVS, you can download it (the instructions are
at http://wget.sunsite.dk/) and give it a spin.  Downloading that file
should work in that version:

{mulj}[~]$ wget 
ftp://ftp.solnet.ch/mirror/SuSE/i386/9.2/iso/SUSE-Linux-9.2-FTP-DVD.iso
--11:44:46--  
ftp://ftp.solnet.ch/mirror/SuSE/i386/9.2/iso/SUSE-Linux-9.2-FTP-DVD.iso
           => `SUSE-Linux-9.2-FTP-DVD.iso'
Resolving ftp.solnet.ch... 212.101.4.244
Connecting to ftp.solnet.ch|212.101.4.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirror/SuSE/i386/9.2/iso ... done.
==> PASV ... done.    ==> RETR SUSE-Linux-9.2-FTP-DVD.iso ... done.
Length: 3,363,543,040 (3.1G) (unauthoritative)

 0% [                                                 ] 146,464       37.06K/s 
ETA 24:32:50
...

Reply via email to