I was in the middle of a large download in Chromium and the power supply to my computer failed (well I tripped over my power cord ...). I see the entry in chrome://downloads/ which says the download was cancelled.
There is a link to the file called "Retry download" but I would rather not start the download from scratch because I have limited downloads. How can I resume this download?
You can resume any download using the wget command provided:
Getting the required information
In Chromium, go the the chrome://downloads/ page. Find the failed download that you want to resume. To get the url, right click on the "Retry download" link and click "Copy Link Address". The location to the file will be
~/Downloads/NAME.crdownload
- NAME is the file name that is displayed above the url in the entry on the chrome://downloads/ page.Downloading the file
The command to resume the download is:
where URL is the url of the partially downloaded file and FILE is the location of the partially downloaded file. Make sure you escape any spaces in the file path. If the server supports resuming downloads you will see a progress bar like this:
where the '+'s indicate what was previously downloaded and the '='s indicate what is currently being downloaded.
If the server doesn't support resuming downloads, you will get an error message and it will fail to download. In this case you have no choice but to restart the download.
Open this url in Chromium:
chrome://flags/
Find this setting and enable it:
You should now be able to pause/resume downloads if the server supports it (although I think you may not be able to resume downloads interrupted before enabling it).
There is one more way which I have tried just now in chromium. You have to pause the download first and then kill the chromium process or shutdown your computer without closing chromium. When you start your computer again chrome will ask you to restore your tabs. Click on that button and then you can resume your download from the downloads tab.
Mandatory: Server should support resuming download.
I tried this on Ubuntu 16.04 and chromium (64bit).