Recover partially download file auto deleted by Chrome

Solution 1:

In address bar type chrome://flags. and search for Enable Download Resumption

enable this option, restart your chrome browser and it will do the trick.

Solution 2:

How to prevent such loss

Here's a simple script that I use while downloading a bigger file.

#!/bin/bash
# ~/partial-download.sh

if [ -f "$1" ]; then
    cp "$1" "${1}.backup"
fi

My crontab entry then looks like this

*/10 * * * * /home/user/partial-download.sh "/home/user/file.crdownload"

And continue the partial download using wget -c