Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Jul : Indy FTP calculate the estimated download time of a file
| Subject: | Indy FTP calculate the estimated download time of a file |
| Posted by: | "Lee J Cook" (lee.co..@kwikhols.co.uk) |
| Date: | Thu, 7 Jul 2005 10:14:56 |
Hi,
I am using Indy 10 FTP to download files which works great and I have a nice
display to work out the percentage of the file downloaded and update a
status bar etc.
What I would like to know is how to calculate the "Estimated download time"
and update a label with it as the file is downloading. If someone has a code
snip on how to do this I'd be very grateful.
Thanks in advance
Lee