Jump to content

How To show progress while downloading multi files


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 


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

  UniProgreesBar1.Position := N;




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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...