Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 133193 - wget displays bogus file sizes, fails to download
wget displays bogus file sizes, fails to download
Status: CLOSED DUPLICATE of bug 123524
Product: Fedora
Classification: Fedora
Component: wget (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
: 133350 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-09-22 08:45 EDT by Ralf Ertzinger
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:05:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
bug fix patch (290 bytes, patch)
2004-09-27 14:26 EDT, Jason Duerstock
no flags Details | Diff
no, really, this fixes it, honest (541 bytes, patch)
2004-09-27 14:31 EDT, Jason Duerstock
no flags Details | Diff

  None (edit)
Description Ralf Ertzinger 2004-09-22 08:45:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)

Description of problem:
wget displays bogus remote file sizes and fails to download remote
files (only HTTP tested, not every server). Example of failure:

[sun@nausicaa ~ :) 7]$ wget
           => `GPL'
Resolving ftp.ie.freshrpms.net...
Connecting to ftp.ie.freshrpms.net[]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: B,446,744,069,414,602,705 [text/plain]

    [ <=>                                                            
                        ] 0             --.--K/s             

14:37:32 (0.00 B/s) - `GPL' saved [0/0])

The file created is empty.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. use wget to download a http file

Actual Results:  Bogus file size (always), download fails (sometimes)

Expected Results:  Transfer of file

Additional info:
Comment 1 Oliver Falk 2004-09-23 09:15:16 EDT
*** Bug 133350 has been marked as a duplicate of this bug. ***
Comment 2 Michel Alexandre Salim 2004-09-23 19:51:03 EDT
Confirming this on wget-1.9.1-16
Comment 3 Jason Duerstock 2004-09-27 14:26:35 EDT
Created attachment 104391 [details]
bug fix patch

fixes length problem, possibly breaks ability to reuse header_extract_number in
other places.  function doesn't appear to be called anywhere else.
Comment 4 Jason Duerstock 2004-09-27 14:31:44 EDT
Created attachment 104392 [details]
no, really, this fixes it, honest

oops, forgot to resize temporary result variable
Comment 5 Karsten Hopp 2004-09-28 10:35:54 EDT

*** This bug has been marked as a duplicate of 123524 ***
Comment 6 Red Hat Bugzilla 2006-02-21 14:05:46 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.