LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to check if Downloads are still occurring/how to resume them? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-check-if-downloads-are-still-occurring-how-to-resume-them-4175570022/)

chris_crunch 02-03-2016 01:50 AM

How to check if Downloads are still occurring/how to resume them?
 
So yeah, I accidentally closed the terminal while it was downloading a pretty big file (it's going to take 40 hours...)

8 hours in and suddenly I don't see evidence for this process anywhere,

Have I cancelled it? What do I do?

ondoho 02-03-2016 02:33 AM

which command did you use to start the download?
hint: if it was a standard wget command without '&' at the end, then yes, process terminated.
but iirc, wget has an option to resume downloads.
read "man wget".

chris_crunch 02-03-2016 04:50 AM

yeah, it was wget. (damn it!)

Thanks,

So, if I resume it... will it go back to the beginning, taking the same amount of time?

If not, is this half downloaded file stored somewhere?

If so, will it be relevant to the new download in what way?

BW-userx 02-03-2016 10:40 AM

it should pick up where it left off --

what are you using a phone line and modem to get internet?

DavidMcCann 02-03-2016 10:51 AM

It will pick up from where it left off only if you use
wget -c
Without the "-c" parameter it will go back to the beginning. As for where it's stored, that will be in the working directory. So you not only need "-c" but you need to have the same directory set, or else it won't find the first half and will just start over.

brockm789 02-03-2016 02:59 PM

Quote:

Originally Posted by chris_crunch (Post 5493561)
yeah, it was wget. (damn it!)

Thanks,

So, if I resume it... will it go back to the beginning, taking the same amount of time?

If not, is this half downloaded file stored somewhere?

If so, will it be relevant to the new download in what way?

There is a download accelerator called axel. It's like wget on steriods.

Axel can pull in multiple ftp/http streams into a single download location. Whereas wget can handle only a single stream.

Here are a couple of switches for axel.


-n X maximum number of connections

axel -n 10 http://blahblahblah/somefile

-o outputfile.xxx Set output filename

axel -n 10 -o something_else.xxx http://blahblahblah/somefile

Axel can also resume a download if you decide to cancel for some reason.

Just make sure you use the original download link and be in the directory where the partially downloaded files resides.

ondoho 02-03-2016 03:54 PM

Quote:

Originally Posted by chris_crunch (Post 5493561)
yeah, it was wget. (damn it!)

ok, but i meant the complete command line you entered.

BW-userx 02-03-2016 04:15 PM

what was you downloading that takes 40 hours ~ just wondering

Quote:

343 Industries apologizes for 20GB 'Day One' download for Halo: The Master Chief Collection

malekmustaq 02-04-2016 10:34 AM

If you are not comfortable with "wget" you'd better download/install a graphical downloader first and use it for downloading that big file. Most GUI downloaders are Resume capable.

Good luck.

m.m.


All times are GMT -5. The time now is 07:30 PM.