bugGNU Wget - Bugs: bug #33967, resuming an FTP download shows...

 
 

bug #33967: resuming an FTP download shows wrong progreess bar and percentage

Submitter:  None
Submitted:  Mon 08 Aug 2011 01:03:20 AM UTC
   
 
Category:  User Interface Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Waleed Hamra Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.12
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  1.15 Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 14 Aug 2015 03:32:11 PM UTC, comment #1: 

This is no longer reproducible in Wget 1.15. It was fixed with commits 6ef8c69c9d34bbb750ddcd2062e668fb0d941cff and 29305e059ff2095060eef939f653c1b5deecd6d9.

This should be closed.

Ander Juaristi <ajuaristi>
Mon 08 Aug 2011 01:03:20 AM UTC, original submission:  

i will demonstrate with an example:

$ wget ftp://usernmae:password@example.com/file -c
--2011-08-08 03:16:42--  ftp://username:*password*@example.com/file
           => `file'
Resolving example.com... xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy
Connecting to example.com|xxx.xxx.xxx.xxx|:21... connected.
Logging in as username ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not needed.
==> SIZE file ... 549807025
==> PASV ... done.    ==> REST 162791124 ... done.   
==> RETR file ... done.
Length: 387015901 (369M), 224224777 (214M) remaining (unauthoritative)

the file is around 540 megabytes, as you can see from the SIZE command. i already have around 160 megabytes downloaded from a previous session, i just want to continue now.
in the last line, it says Length is 369 megabytes. now this is really the remaining data, not the full length of the file, but wget treats it so, and calculates that what's remaining is 214 megabytes, when in fact, much more than that is remaining.

so the problem in a nutchell, is that wget should rely on info from the SIZE command to calculate length, remaining, and draw a proper progress bar.
what is happening now, is that progress bar reaches 100%, but data would still be flowing in normally till the file really ends.

thanks in advance for your time.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rockdaboot (Updated the item)
  • -email is unavailable- added by ajuaristi (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-08-14 rockdaboot StatusNone Fixed
        Fixed ReleaseNone 1.15

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code