5 January, 2009

Resume a broken download from Wget



Well today I ran into a problem that I have had on many occasions, this is a problem that I´m sure a large number of you have run into, what´s the problem, well my internet connection dropped out on me. This normally isn´t a problem however I was 90% of the way through a 5 gig download. As you can imagine I was slightly annoyed, however this time I was using Wget, Wget as you may or may not know is a utility that allows you to download files from http or ftp sites. Wget offers a very simple solution to this problem is to resume the download from where it stopped, I know there are other apps that let you do this but I was on a command line and many of the other apps are not as reliable.

So to the purpose of this brief post...

To resume a download that has stopped in Wget you simply have to put a -c in the command,

For example this command to download a copy of Ubuntu

wget http://releases.ubuntu.com/intrepid/ubuntu-8.10-desktop-i386.iso

would turn into

wget -c http://releases.ubuntu.com/intrepid/ubuntu-8.10-desktop-i386.iso

It´s that simple.

Hope this helps anyone that was in the same position as I was.

As always any comments are welcome.

------------------------------------------
NOTE: These articles are tutorials/general ramblings. I do not except responsibility for anything that goes wrong, be it a broken HDD, an entire computer or if you chop off your arms, follow anything I say on this site at your own risk.
------------------------------------------

Comments



Leave a comment

Name:


URL:(optional)


Protection Number (Please insert in box below):4302


Comment:


This website was designed and implemented by myself, all opinions and views expressed are my own unless otherwise specified. Excluding the images contained within the header and any specified elsewhere on the site images are my own.

Copyright Rob Ward
2009 - 2010