Jump to content

How To show progress while downloading multi files


i2u4ever

Recommended Posts

My Application should have a procedure which downloads mult files about 100, each file size is about 20mb.

 

I want to show progress while dowonloading.

 

For example,

 

UniProgreesBar1.Max := 100;

 

for N := 1 to 100 do 

begin

  Unisession.SendFile("FileName" + IntToStr(N));

  UniProgreesBar1.Position := N;

  Application.ProcessMessages;

end;

 

However, this coding does not work.

UniProgressBar does not show the progress.

 

What should I do to show the progress?

 

Best Regards.
Link to comment
Share on other sites

Thanks, Farshad Mohajeri

At first time, my App failed when demo code was applied.

And now I succeeded after inserting sleep() in for loop.

Maybe each file size is too large(20MB)?

 

Thanks again, uniGUI is GOOOOD!

 

PS : Where are SyncClientUpdate - 2  and  SyncClientUpdate - 3

I use Regular version 0.99.96.1317

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...