Wget 1.9.1 cannot download files larger then 2.147.483.647 bytes (2^31 =
2GB), this is apparently a signed 32-bit integer overflow.

I tried to download a 3.29GB DVD iso image. The download_startup.log file
contains log from startup od the download session.

The percentage of downloaded file was decreasing from -1% up to something
about -250%, then download stopped exactly at the 2147483647 byte.
Further download attempts are unsucessfull: wget exits just after
it get connected to the server - nothing happens. See the download_failure.log.

Command used to start/restart download (a shell script):
#!/bin/sh
wget -T120 -r -c --dot-style=mega -nH --cut-dirs=5 -P . -o download.log \
      --limit-rate=5k \
      ftp://ftp.icm.edu.pl/packages/linux-suse/i386/9.2/iso/ &

I use Linux Slackware 10.0, kernel 2.4.26 with XFS support enabled.
I successfully created a 6GB tar file to make sure that limit is not imposed
by the file system limits. Here is a directory listing:

-r--r--r--  1 trurl users        177 Jan  5 16:14 MD5SUMS
-r--r--r--  1 trurl users       1213 Jan  5 13:28 README.txt
-rw-------  1 trurl users 2147483647 Jan 28 23:35 SUSE-Linux-9.2-FTP-DVD.iso
-rw-r--r--  1 trurl users 6442455040 Jan 30 14:01 largefile.test

Wojtek
--
Wojciech Gazda
**********************************************************
* Home page        - http://trurl.asua.org.pl            *
* Asua programmers - http://www.asua.org.pl              *
**********************************************************
[ To już szósta linia sygnaturki - niezgodna z netykietą ]



--23:35:15--  ftp://ftp.icm.edu.pl/packages/linux-suse/i386/9.2/iso/
           => `./.listing'
Resolving ftp.icm.edu.pl... 193.219.28.2
Connecting to ftp.icm.edu.pl[193.219.28.2]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /packages/linux-suse/i386/9.2/iso ... done.
==> PORT ... done.    ==> LIST ... done.

--13:17:50--  ftp://ftp.icm.edu.pl/packages/linux-suse/i386/9.2/iso/
           => `./.listing'
Resolving ftp.icm.edu.pl... 193.219.28.2
Connecting to ftp.icm.edu.pl[193.219.28.2]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /packages/linux-suse/i386/9.2/iso ... done.
==> PORT ... done.    ==> LIST ... done.

    0K                                                         14.06 KB/s

13:17:51 (14.06 KB/s) - `./.listing' saved [287]

Removed `./.listing'.
--13:17:51--  ftp://ftp.icm.edu.pl/packages/linux-suse/i386/9.2/iso/MD5SUMS
           => `./MD5SUMS'
==> CWD not required.
==> PORT ... done.    ==> RETR MD5SUMS ... done.
Length: 177

    0K                                                      100%    8.67 KB/s

13:17:51 (8.67 KB/s) - `./MD5SUMS' saved [177]

--13:17:51--  ftp://ftp.icm.edu.pl/packages/linux-suse/i386/9.2/iso/README.txt
           => `./README.txt'
==> CWD not required.
==> PORT ... done.    ==> RETR README.txt ... done.
Length: 1,213

    0K                                                      100%   10.77 KB/s

13:17:52 (10.77 KB/s) - `./README.txt' saved [1213]

--13:17:52--  
ftp://ftp.icm.edu.pl/packages/linux-suse/i386/9.2/iso/SUSE-Linux-9.2-FTP-DVD.iso
           => `./SUSE-Linux-9.2-FTP-DVD.iso'
==> CWD not required.
==> PORT ... done.    ==> RETR SUSE-Linux-9.2-FTP-DVD.iso ... done.
Length: -931,424,256

    0K ........ ........ ........ ........ ........ ........  0%    4.99 KB/s
 3072K ........ ........ ........ ........ ........ ........  0%    5.00 KB/s
 6144K ........ ........ ........ ........ ........ ........ -1%    5.00 KB/s
 9216K ....

Reply via email to