If you've ever found yourself downloading a large file in Google Chrome (like the 700MB Ubuntu distro) and had either Chrome or the OS crash, read on to find out how to recover and resume the download using wget

First, go to the folder where Chrome saves your downloads. For me, its ~/Downloads and list all files with .crdownload extension

cd ~/Downloadsls *.crdownload

In my case, I was trying to download a Slax distro, so ls reported

slax-6.1.2.iso.crdownload

Now rename the file, removing the .crdownload extension.

mv slax-6.1.2.iso.crdownload slax-6.1.2.iso

Then get wget to continue the download for you!

wget –continue http://nimue.fit.vutbr.cz/slax/SLAX-6.x/slax-6.1.2.iso

Voila!

Update

this works on Windows too! Just rename the file in Windows Explorer and use wget for Windows.

You helped me download a 9 GB File that decided to fail with 19mb remaining

THANK YOU
THANK YOU

Rhys

Lu

Thank you so much for posting this.

Jason

What a useful post, many thanks!

moe

i have an .exe file my PC got unplugged(turned off) i was downloading FIFA ONLINE FIFA_Installer_v205.1.exe.crdownload what you said never worked -,-

soe

@Moe, it didn't work because this is for Ubuntu OS, not Windows.

http://saviojosev.blogspot.com Savio

Thanks
It worked like a charm

http://www.xeven.com.ar Pablo

OMG, you saved my life!!!!
Thank you! I didn't know this trick and it really saved me. I was very hurried downloading a file and my ubuntu crashed, together with chrome so I started looking for help in google and there you are
hehe, thanks once again!

http://www.facebook.com/balabaev Igor Balabaev

Hey guys, once again, this works like a charm, and if you're a like me (just a user with no skill) here's a link to a precompiled wget, just follow instructions and you won't need to install dev tools:) http://www.statusq.org/archives/2008/07/30/1954/
enjoy

neil underwood

Wow thank you for this obvious solution. Sometimes it's just right under our nose. Awesome.

Ok thanks, but when i type ls *.crdownload, it just says 'The directory name is invalid'. Is there anything i can change to hope it works?

suresh

you just have to cd to the directory where you saved your download file. I might think this is your case

Tester

+1
this works on Windows too!

Jack280697

Im useing windows 7 and when i open the wget exe file it just closes automaticly

neil underwood

You can't just open it. It has to be run from a command prompt.

http://www.cawcoders.com/ Greg Cawthorne

Hi! I would really like to use this. I have followed the tutorial, but I am running into problems. The source which I want to download requires you to be logged into the website. I can do this and download the file in a web browser (like google chrome), but in terminal it errors (presumably, because terminal isn't using any cached login details/cookies/session keys ect.).

As a result of this when I enter the download link that I can use in my web browser, it doesn't work with wget in terminal and just downloads an index.html files, which I would get in my browser if I weren't logged in. :/

Any suggestions?

http://www.cawcoders.com/ Greg Cawthorne

P.S. I'm on mac 10.7.5.

http://www.supermind.org Kelvin Tan

Hi Greg, yeah, this is a pain.

There are 2 ways you can get around this:

1) Use wget to login (saving cookies), then use wget again to download
2) Use browser to login, manually inspect request headers, then use wget to download

What you have to do is to login to the website in your browser, then use a HTTP inspector (like Chrome developer tools) to figure out the cookie that's being used. Then pass this to your wget request like so

Hi guys!
For guys using Windows
Follow these simple steps:
1.) Download WGET
2.) Go to C:Documents and SettingsYour Username
3.) Place WGET in designated location
4.) Go to CMD or Command Prompt (Type CMD in run)
5.) Type in "wget http://users.ugent.be/~bpuype/wget/wget.exe" (Optional) to test WGET
6.) Type in CMD "cd C:Documents and SettingsYour UsernameMy DocumentsDownloads or wherever you had placed your unfinished file (Note : File does not have to be *.crdownload)
7.) Type in CMD "dir *.crdownload" or whatever extension is being used like "dir *.exe,iso,cab" etc.
8.) remove the extension that involves ".crdownload" (Make sure to rename the file EXACTLY the same as file of the link that you downloaded it from)
9.) Using WGET, Type in the EXACT link where you downloaded it from [ex. wget –continue http://websitename.com/downloadfile_ishere.exe

It's because at the end of a normal/most downloads, it always ends with a filename and an extension, you need to copy the URL of the download so when you type go to CMD the file unfinished and the file being downloaded WITH the extension can be successfully joined together and continue said process.

feww

it works

Dincer

Just great; just great. Thank you.

grant

This doesn't work for me. There are no .crdownload files, the files are legitimate files, they're just not completed.

http://www.supermind.org Kelvin Tan

If there is no .crdownload file, that's fine too. Just do the wget –continue and see if it resumes.

ansu

i downloaded the wget…but i canot open it…pls anyone help me out …..

Nilsi

Awesome thanks!!! How hard can it be for Google to fix this in chrome….

Muhammad Marsell Abdurrahman

Thanks ^_^

Asdaman

Sir you own the internet

Hyunckel

Worked for me on Windows 8.1 using Wget 1.11.4 (copied to C:Windows folder), in my case my downloads are on D:Blabla so I had to type D: instead of Cd D: in CMD. Afterwards I could just paste the folder link or type it myself (using Cd:). Then I used Wget -c HTTPLINK to resume downloads with the link Chrome gives in the Downloads tab (Right click copy, then right click paste in CMD after the Wget -c )

Bhaskar

It works with firefox too.. I was downloading a 3.8 gb windows 10 technical preview with firefox due to bug it said that download is complete at 2.6gb I used it and it worked like charm

Bhaskar

IT works with windows too

ryan

why does my downloaded WGET automatically close?

http://insidecostarica.com/ Timothy Williams

Awesome, thanks so much for posting this, working like a charm! For those on Mac OSX, there is a pre-compiled and easy-to-install version (.pkg) of wget available here: http://rudix.org/packages/wget.html (still must be run from terminal though, obviously).