Page 1 of 1

Progress Bar

Posted: Sat 11 Dec 2010 23:18
by Mike.Rewnick
Hello

How can show progress bar for file download and upload?

Mike

Posted: Mon 13 Dec 2010 10:34
by Dimon

Posted: Mon 13 Dec 2010 13:40
by Mike.Rewnick
That is not really helping to be honest

x/y*100 = percentage of file downloaded

where x is ... and y is...

If you tell s what to use as X and Y it would be really useful

Mike

Posted: Tue 14 Dec 2010 09:40
by Dimon
In the OnData event handler the Count parameter corresponds to the X variable in your formula. The Y variable is the size of the downloaded file, that you should learn before downloading, for example, with the help of the OnFileAttributes event handler.