Resume interrupted downloads with wget

Written by
Date: 2013-07-07 20:20:20 00:00

When you are downloading big files from the Internet, there is always the risk to get your download interrupted and then you end up with a broken file. Is there a way to continue the download of a broken download file?

Fortunately for us, the answer is yes, you can use wget for that.

You usually will issue this command to download a file using wget.

wget http://site.url/file.name

If for some reason the download is interrupted, and no matter how much of it you may have already downloaded, you can resume the broken download using this command

wget -c http://site.url/file.name

Be sure to run wget in the same folder where the first download started, otherwise it will not find the file it should continue to download and will start all over again.