Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where can I find partially completed download file (from chrome ) on my system as(chrome and chromium) it delete them in event of interruption (NET ISSUE).

I need the file so that I complete download process using wget

The file weigh 1 GB before getting interrupted(NET ISSUE) I happen to download

825 MB I dont want to download the 825 MB chunk again

If deleted how can I recover it back .

Thanks

share|improve this question

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.

share|improve this answer

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

share|improve this answer
    
Are you sure this work because chrome auto delete the file moment is cancelled something I have already mention in my question and other answer comment – user1328293 Jan 16 '14 at 11:16
    
Sorry for that. My answer is not a recovery script. It's rather a prevention. What it does is, that during the download, if the file exists, copy it to .backup file, which then can be used as recovery. – Zajo Jan 16 '14 at 12:48

Chrome creates files with the extension .crdownload in the chosen download folder. I'm not sure if the download is linear or if it acts as a torrent download manager that downloads parts randomly till it generates the final file.

share|improve this answer
    
It is probably linear because torrent gets from various different sources. – tenshimsm May 31 '12 at 22:54
    
Thanks I'm aware of that but its obvious that chrome auto deleted any any uncompleted file instantaneously Here a link for more reference code.google.com/p/chromium/issues/detail?id=28612 . Now recovering that deleted file is what I want. Your assumption is correct that it a linear download that y is suggested in Q that i want to download the remaining part using wget if not linear that would have not been possible plus it single user and single server download scenario unlike torrent – user1328293 Jun 1 '12 at 2:59
    
Could you please answer something that i dont know i.e answer to that Q – user1328293 Jun 1 '12 at 3:02
    
Oh! Sorry I didn't know that it's a rhetorical question. – tenshimsm Jun 1 '12 at 21:33
    
Older file systems are easier to recover from like ext2 ext3 (ext4 probably because it is an improvement of its predecessors). See if it can help you: cyberciti.biz/tips/… makeuseof.com/tag/recover-deleted-files-from-your-linux-system – tenshimsm Jun 1 '12 at 21:39

Zajo's method of preventing is a big waste of writes. Furthermore, imagine the $1 is big enough to make the cp take some time... the previous $1.backup will be lost (or partially) if the $1 is deleted by Chrome. (see this question)

A much better way (and a lot easier), to prevent such loss, is just to make a hard link (only once, of course!) as soon as the file.crdownload is created by Chrome:

ln file.crdownload file.crdownload.twin

(A hard link is just another path to the same file. You just have to delete the link (or the file) at the end of a complete download.)

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – DavidPostill Jun 15 '15 at 20:19
    
Well, I can see another answer here. – slhck Jun 15 '15 at 21:30
    
I know... I know this is not a answer to the question. I just wanted to comment the @Zajo method but I can't: I know I need reputation to comment. (My post has been edited to remove these facts, I don't understand why but I don't care). I thought my comment is enough important to be posted...as an answer (since this is the only way I can). As soon as I get enough reputation, I will delete it to post it at the right place: as comment. – syme Jun 16 '15 at 13:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .