FTP percent calculation

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
miskox
Member
Member
Posts: 191
Joined: 2003-06-11, 06:00 UTC

FTP percent calculation

Post by *miskox »

When downloading a file with FTP a percentage complete shows 100% even when a file is NOT yet downloaded completely. I think the problem is with rounding when calculating this.

I tried this with a local copy and 100% is displayed when file is copied completely.

http://www.majhost.com/gallery/miskox/tmp/untitled.bmp

Saso
#224551
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50517
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is just a rounding problem (rounding to the nearest number). Many programs do that...
Author of Total Commander
https://www.ghisler.com
miskox
Member
Member
Posts: 191
Joined: 2003-06-11, 06:00 UTC

Post by *miskox »

Yes, but 100% means complete. So it should display 99% until it really finishes.

Saso
#224551
Post Reply