LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-05-2016, 10:13 AM   #1
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Rep: Reputation: Disabled
wget-log


There's a download that didn't quite complete on my computer. I found this wget-log file, and google reluctantly won't do anything else.

I have a text editior, I read it and it says:

2016-02-04 06:40:35 (626 KB/s) - Connection closed at byte 109505067490. Retrying.

--2016-02-04 06:40:36-- (try: 2) http://www.image-net.org/challenges/..._img_train.tar
Connecting to www.image-net.org (www.image-net.org)|171.64.68.16|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 147897477120 (138G), 38392409630 (36G) remaining [application/x-tar]
Saving to: ‘ILSVRC2012_img_train.tar’

78% [+++++++++++++++++++++++++++++++++=> ] 115,458,742,747 846KB/s eta 10h
total 112750324
 
Old 02-05-2016, 10:21 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,321

Rep: Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026
Quote:
Originally Posted by chris_crunch View Post
There's a download that didn't quite complete on my computer. I found this wget-log file, and google reluctantly won't do anything else.

I have a text editior, I read it and it says:

2016-02-04 06:40:35 (626 KB/s) - Connection closed at byte 109505067490. Retrying.

--2016-02-04 06:40:36-- (try: 2) http://www.image-net.org/challenges/..._img_train.tar
Connecting to www.image-net.org (www.image-net.org)|171.64.68.16|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 147897477120 (138G), 38392409630 (36G) remaining [application/x-tar]
Saving to: ‘ILSVRC2012_img_train.tar’

78% [+++++++++++++++++++++++++++++++++=> ] 115,458,742,747 846KB/s eta 10h
total 112750324
Sorry to sound nasty, but what do you THINK it says? It's telling you that the connection failed, it retried, and continued. It's also telling you very plainly that it's at 78% complete, downloaded 115G (out of the 138G), and that you're downloading at 846KB/s, and the ETA for the file completion is 10h.
 
Old 02-10-2016, 03:42 AM   #3
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Original Poster
Rep: Reputation: Disabled
Hahaha, yes you're correct. Sorry, I wasn't clear on my question- I didn't know files like this where created when the download was interrupted.
I was wondering if you could resume the download somehow, but after researching this I believe that you cannot by using "wget", you need another downloaded to do this.
Also if you close the command line window while wget is downloading something, it is cancelled. Are these both correct?
 
Old 02-10-2016, 09:03 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,321

Rep: Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026Reputation: 6026
Quote:
Originally Posted by chris_crunch View Post
Hahaha, yes you're correct. Sorry, I wasn't clear on my question- I didn't know files like this where created when the download was interrupted.
I was wondering if you could resume the download somehow, but after researching this I believe that you cannot by using "wget", you need another downloaded to do this.
Also if you close the command line window while wget is downloading something, it is cancelled. Are these both correct?
Please see the "Question Guidelines" link in my posting signature....doing basic research first before posting a question is a good thing.

Putting "can wget resume" into Google pulls up lots, and the man page for wget will also. Pay particular attention to the "-c" option:
Quote:
Originally Posted by wget man page
Code:
-c
--continue
     Continue getting a partially-downloaded file.  This is useful when you want to finish up a download started by a previous instance of Wget, or by another program.  For instance:

                   wget -c ftp://sunsite.doc.ic.ac.uk/ls-lR.Z

    If there is a file named ls-lR.Z in the current directory, Wget will assume that it is the first portion of the remote file, and will ask the server to continue the retrieval    
    from an offset equal to the length of the local file.
Also, if you have wget running in the foreground, it behaves no differently than any other process...if you close the session, you cancel it. That said, if you run append "nohup" in front of the wget command, and follow it with a "&", it will spawn its own background process, and closing the terminal won't have any effect.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to resume an interrupted wget using wget.log? misterJ Linux - Software 2 06-19-2011 02:21 PM
kernel log format in /var/log/kern.log sinu_nayak2001 Linux - Newbie 2 10-07-2009 09:34 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 05:14 PM
wget not working! but "man wget is" ??? wrapster Solaris / OpenSolaris 5 07-30-2008 04:00 AM
Opennms Logs - where are web.log, web_rtc.log and webauth.log referenced? not_much_of_a_guru Linux - Networking 0 07-12-2006 11:28 AM

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

All times are GMT -5. The time now is 09:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration