Wednesday, October 31, 2007

How to resume a download in Linux ?

If you are downloading a large file, of several Gigas and your, or the orthers connection gets lost, and you think that you have to download it again from the beginning, dont worry, it is possible to resume the download with some tools.

If the file is not so big, (less than 2 Gigas), you can use "wget"
# wget -c ftp://user:password@ftp.serverlinux.blogspot.com/incoming/*

But, as i said, you could be downloading the DVD from Solaris o Centos 5, in this cases wget it is not usefull because it has a limit of the file size. In this cases use Curl:

# curl -C - -O --disable-epsv -u user:password ftp://ftp.usf.edu/pub/centos/5.0/isos/x86_64/CentOS-5.0-x86_64-bin-DVD.iso

Let your opinion ! ;-)