Progress Bar

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Mike.Rewnick
Posts: 8
Joined: Sat 11 Dec 2010 23:07

Progress Bar

Post by Mike.Rewnick » Sat 11 Dec 2010 23:18

Hello

How can show progress bar for file download and upload?

Mike

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 13 Dec 2010 10:34


Mike.Rewnick
Posts: 8
Joined: Sat 11 Dec 2010 23:07

Post by Mike.Rewnick » Mon 13 Dec 2010 13:40

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 14 Dec 2010 09:40

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.

Post Reply