U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » knowing download speed and ProgressIndicator
knowing download speed and ProgressIndicator [message #16918] Mon, 21 July 2008 07:24 Go to previous message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member
hello again

i want to make a function that download files and also shows the download speed and shows the progress in a progress bar .... and also dont make the program stop Very Happy ( i mean multithreading )

now i can download files using

HttpClient client;
String url = attachments.GetData();
client.URL ( url );
String content;
content = client.ExecuteRedirect ( HttpClient::DEFAULT_MAX_REDIRECT, HttpClient::DEFAULT_RETRIES);
SaveFile ( "file" + FormatInt ( file_num ), content );


and i can open it in a new thread but now i want to show download speed and progress bar

and i want the progress bar to be ProgressIndecatior

thanks in advance and i am sorry for my many questions

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: making thread
Next Topic: sending post message
Goto Forum:
  


Current Time: Mon Oct 26 17:57:07 GMT+1 2026

Total time taken to generate the page: 0.01054 seconds