LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2016, 01:50 AM   #1
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Rep: Reputation: Disabled
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?
 
Old 02-03-2016, 02:33 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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".
 
Old 02-03-2016, 04:50 AM   #3
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Original Poster
Rep: Reputation: Disabled
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?
 
Old 02-03-2016, 10:40 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
it should pick up where it left off --

what are you using a phone line and modem to get internet?
 
Old 02-03-2016, 10:51 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
Old 02-03-2016, 02:59 PM   #6
brockm789
LQ Newbie
 
Registered: Feb 2016
Posts: 17

Rep: Reputation: 3
Quote:
Originally Posted by chris_crunch View Post
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.

Last edited by brockm789; 02-03-2016 at 03:02 PM.
 
Old 02-03-2016, 03:54 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by chris_crunch View Post
yeah, it was wget. (damn it!)
ok, but i meant the complete command line you entered.
 
Old 02-03-2016, 04:15 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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
 
Old 02-04-2016, 10:34 AM   #9
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resume downloads with konqueror on slackware 13.1 jasonmoxham Linux - Desktop 2 07-22-2010 07:33 AM
Kanotix/CPX-Mini iso downloads stop and will not resume Dymitry Linux - Software 5 06-20-2006 07:30 AM
resume downloads in apollon?? blue.spark Linux - Software 0 06-02-2005 04:57 AM
Apollon check downloads script heema Programming 3 02-08-2005 02:40 AM
Best downloads with resume function Boffy Linux - Software 7 09-06-2004 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration