Monday, April 16, 2012

Ohh - my large download have stopped - How to continue?

Downloading DVD ISO image of Debian takes some time. I started in Google Chrome and used http link.
As time of my Skype telco came, I suspended the download not to limit my bandwidth for the call.
What a surprise when I found that I got no chance to continue (3.1 out of 4.4 GB were already "home").
Fortunately, wget command line tool got handy:
  1. I located the (partially) downloaded file on my disk.
  2. Found the url, used to download the file
  3. Called wget from command line (being in the same folder as was the downloaded file):

    $ wget -c <URL>
  4. then waited till I got it all and complete.
  5. checking MD5 checksum proved, the files is (very likely) to be downloaded correctly.
This assumes, the partially downloaded file and the url are matching (wget estimates some name for the file, it has to be the one you have)

I am running MS Windoews and have wget already installed as part of my Linux set of command line goodies.
Wget for windows can be found here http://gnuwin32.sourceforge.net/packages/wget.htm

Alternatively, you may use culr:

    $ curl -C - -L -O <URL>
You may also start downloading this way directly, cancle it any time and start again to continue. There is no need to get into troubles with Google Chrome.

No comments:

Post a Comment