Bug 133646
Summary: | wget reports the length(file size) inaccurately | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nathan G. Grennan <redhat-bugzilla> |
Component: | wget | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 19:05:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nathan G. Grennan
2004-09-25 16:33:22 UTC
I can confirm this bug of wget. It seems to be restricted to HTTP. FTP does not show this bug (except when using an HTTP proxy, Squid 2.5STABLE6). 1st example (with bug): wget-1.9.1 getting FTP URL via HTTP proxy (wget talks HTTP to proxy, proxy talks FTP to server) $ wget ftp://ftp.horde.org/pub/imp/imp-3.2.6.tar.gz --17:35:57-- ftp://ftp.horde.org/pub/imp/imp-3.2.6.tar.gz => `imp-3.2.6.tar.gz' Resolving www-cache... 192.168.1.6 Connecting to www-cache[192.168.1.6]:3128... connected. Proxy request sent, awaiting response... 200 OK Length: B,446,744,069,416,168,746 [application/x-tar] [ <=> ] 1,584,426 201.35K/s 17:36:05 (200.45 KB/s) - `imp-3.2.6.tar.gz' saved [1,584,426/1,584,426]) 2nd example (without bug): wget-1.9.1 getting FTP URL directly from server $ wget -Y off ftp://ftp.horde.org/pub/imp/imp-3.2.6.tar.gz --17:35:18-- ftp://ftp.horde.org/pub/imp/imp-3.2.6.tar.gz => `.listing' Resolving ftp.horde.org... 199.175.137.145 Connecting to ftp.horde.org[199.175.137.145]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/imp ... done. ==> PASV ... done. ==> LIST ... done. [ <=> ] 5,124 24.18K/s 17:35:20 (24.15 KB/s) - `.listing' saved [5,124] Unsupported listing type, trying Unix listing parser. Removed `.listing'. --17:35:20-- ftp://ftp.horde.org/pub/imp/imp-3.2.6.tar.gz => `imp-3.2.6.tar.gz' ==> CWD not required. ==> PASV ... done. ==> RETR imp-3.2.6.tar.gz ... done. Length: 1,584,426 100%[====================================>] 1,584,426 100.60K/s ETA 00:00 17:35:44 (64.45 KB/s) - `imp-3.2.6.tar.gz' saved [1,584,426] 3rd example (without bug): wget-1.8.2, same setup with HTTP proxy as in 1st example $ wget ftp://ftp.horde.org/pub/imp/imp-3.2.6.tar.gz --17:36:33-- ftp://ftp.horde.org/pub/imp/imp-3.2.6.tar.gz => `imp-3.2.6.tar.gz' Resolving www-cache... done. Connecting to www-cache[192.168.1.6]:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1,584,426 [application/x-tar] 100%[====================================>] 1,584,426 200.43K/s ETA 00:00 17:36:41 (200.43 KB/s) - `imp-3.2.6.tar.gz' saved [1584426/1584426] bug 123524 covers the LFS related problems *** This bug has been marked as a duplicate of 123524 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |