Closed Bug 305594 Opened 20 years ago Closed 20 years ago

Download manager indicates wrong file size

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 260741

People

(Reporter: Jorg.Floren, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 When (for example) downloading winamp (5.09 Full version) the website states the size to be 4.6Mb, the file in reality is 4.93Mb. The FireFox Download Manager indicates the file size to be 5.1Mb. The size of the file in reality is 5.176.904 bytes. The error is in the calculation of Mb. The download manager apperantly divides the number of bytes by 1.000.000 or even truncates the number instead of dividing it by (1024)^2 Reproducible: Always Steps to Reproduce: 1. Download any file bigger then one Megabyte 2. Check the size the Download Manager indicates 3. Check the size on disk of the downloaded file Actual Results: 1. Download starts 2. Manager reports a size of 5.1 Megabyte 3. File size on disk is 4.93 Megabyte Expected Results: The download manager should have reported the filesize to be 4.93 Megabyte
*** This bug has been marked as a duplicate of 260741 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.