M HYPE SPLASH
// news

how to download very large files in chrome

By John Peck

On Windows 7 running Chrome browser, downloading a 3.2TB file to a USB drive say F:\big-files\ with 3.5TB free fails because "Disk Full". It appears that Chrome uses a temporary folder for downloads which would be on C:\somewhere (%appdata%\whatever) which has nowhere near enough space.

Research suggests adding --disk-cache-dir="F:\big-cache" to the program shortcut.

My question is (without downloading for days to find out): Will Chrome successfully move the file from F:\big-cache\ to F:\big-files\ when the file occupies 90% of the space available on the drive?

I think it will work because the move just needs to change the file pointer and not physically move the file, but if that's wrong, how to successfully download the file?

Should I just set my cache to F:\big-files so the cache is the destination and be done with it, or is that also doomed for some reason?

UpdateUnder F:\big-files\ there is a new directory structure Default\ which contains Default\Cache and "Default\Code Cache". I assume it was created by Chrome. If so why has the download failed? Surely I don't need double the space to download any given file?

10

2 Answers

The proposed solution of adding --disk-cache-dir=D:\location won't work. I've tested it with a 1GB file, the folder would not grow past 6MB in size. It seems chrome uses another folder as temporary download directory.

Others stated that chrome would download the file to its final directory if this is on a different drive, I could not reproduce that behavior as seen in the screenshot

chrome download

Fortunately there are other solutions which work out of the box:

Using a download manager

Download manager are specifically made for downloading many and large files. A download manager like JDownloader has various advantages in comparison to downloading via a browser:

  1. stopping and resuming the download without loosing data
  2. limiting the download bandwidth
  3. downloads to the specified location instead of a temporary folder

And many more which are not critical to your usecase.

Use Firefox

Firefox will download the file directly to the specified location as a <originalfile>.<extension>.part file and rename it to <originalfile>.<extension> after completion.

1

This simple solution worked for me.

  1. Append disk-cache-dir="F:\destination" to the target field of the Chrome shortcut
  2. Start Chrome
  3. Under Chrome > Settings > Advanced > Downloads enable "Ask where to save each file before downloading"
  4. Begin the download of <some-enormous-file>
  5. When prompted for the file destination select F:\destination
  6. In case you don't believe it's working, check progress on the Chrome Downloads tab Ctrl-J and/or refresh Windows Explorer and watch as F:\destination\Unconfirmed <numbers>.crdownload increments in size. Watch with pleasure as the download size in either view exceeds the disk space on C:\ and continues
  7. Wait longer.

More permanently the download location can be set to F:\destination and the location prompt turned off . I did not do this because I was downloading two files and F:\ is removable in my case.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy