Jump to content

Progress download for UniSession.SendFile(DestName, OriName)


FlavioMacedo

Recommended Posts

I have not been able to show the user the download progress yet.

 

My idea would be a ProgressBar of the type used by downloading the dropbox for example.

 

I have a file with more than 50Mb to download and I need to show the progress if not the user simply thinks the machine is locked.

 

If anyone has an example please help me. In the unigui examples I found none that shows progress.

 

My comand is:

 

   UniSession.SendFile(DestName, OriName);

 

 

Thank you

Link to comment
Share on other sites

There is no built-in event providing info on transfer, as far as I know.

 

Normally the progress is shown on the user side.

 

I suppose you could use a separate indy http server to serve the file

and get transfer info that way.

 

Or you may just show a form to the user, counting down to some

approximate download time, to show some movement :)

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.

Guest
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...