Hi,
I use wget on a i386 redhat 9 box to download 4G DVD from a ftp site.
The process stops at:
$ wget -c --proxy=off
ftp://redhat.com/pub/fedora/linux/core/2/i386/iso/FC2-i386-DVD.iso
--12:47:24--
ftp://redhat.com/pub/fedora/linux/core/2/i386/iso/FC2-i386-DVD.iso
= `FC2-i386-DVD.iso'
Resolving redhat.com... done.
Connecting to redhat.com[134.14.16.42]:21... connected.
Logging in as anonymous ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done. == CWD /pub/fedora/linux/core/2/i386/iso ...
done.
== SIZE FC2-i386-DVD.iso ... done.
== PORT ... done.== REST 2147483647 ... done.
== RETR FC2-i386-DVD.iso ... done.
Length: 75,673,600 [-2,071,810,047 to go] (unauthoritative)
100%[==] 2,147,483,647 --.--K/s
ETA --:--File size limit exceeded
Note, the actual file size should be 4,370,640,896 but not 75,673,600 as
shown above.
I read ftp.c and found all the file size variables are defined as long.
I think this caused the
problem. I download the same image from a 64-bits machine, it works
fine.
Thanks,
-
Opinions expressed are those of the author and do not represent Intel
Corp.
- Zhu Yi (Chuyee)
GnuPG v1.0.6 (GNU/Linux)
http://cn.geocities.com/chewie_chuyee/gpg.txt or
$ gpg --keyserver wwwkeys.pgp.net --recv-keys 71C34820
1024D/71C34820 C939 2B0B FBCE 1D51 109A 55E5 8650 DB90 71C3 4820