Hi,

I'm using wininet.lib to download a file from my ftp server , i want to know if there is a way to get the the transfert speed ?


Thank You.
Posted on 2004-11-10 22:13:55 by heneiken
Get size of downloaded file. Remember it. Setup a timer for 1 second delay.
Upon timer fire up get size of the downloaded file again. Calculate the difference between this one and last one. This difference will be your bytes per second.
Than you can play with bps to make it kbps, etc.

Don't forget to update previous filesize to be equal to current one.
Posted on 2004-11-11 08:55:31 by arafel
Well that is what i'm doing :)
I think i will keep this solution ;)


Thank you.
Posted on 2004-11-11 15:48:56 by heneiken