Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » knowing download speed and ProgressIndicator
Re: knowing download speed and ProgressIndicator [message #17228 is a reply to message #17197] Sun, 03 August 2008 14:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
TeCNoYoTTa wrote on Fri, 01 August 2008 18:38

i tested it on small file (about 150 KB) and it worked very well

but with the first file (about 5MB) it stopped at 2.5 MB as i think

thanks in advance


Hard to say. testcase please.
Re: knowing download speed and ProgressIndicator [message #17230 is a reply to message #17228] Sun, 03 August 2008 14:53 Go to previous messageGo to next message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

thanks Luzr for your reply

i will make more test cases and tell you

but i want to tell you what i want to do

i want to make a download manager that download files that are some times be attachments on forums
that allow visitors downloads also i want it to support pause/continue downloading

the proplem now is that the executeredirect dont complete downloading the file when the file is big

also i want to download part of file save it the download another part and save it to support
pause/continue

but executeredirect downloads all the file one piece and put it in a string variable

so these are the proplems

now i want to ask what does these functions do and what are there arguments and what they return
socket.WriteWait(const char *s,int length,int timeout_msec)
socket.Read()
socket.ReadUntil()
socket.ReadCount()

and i will get more test cases
but please help me or tell me how to find info
thanks in advance
and i am waiting your respond

[Updated on: Sun, 03 August 2008 14:55]

Report message to a moderator

Re: knowing download speed and ProgressIndicator [message #17231 is a reply to message #17230] Sun, 03 August 2008 19:46 Go to previous messageGo to next message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

horraaaaaay

at last it worked and now bigger files can be downloaded

i just changed timeout
client.TimeoutMsecs ( 1000*60*60*60 );

but there is another proplems
1- i want to download the file part by part
2- the progress bar does some thing strange
look
it works fine
http://img262.imageshack.us/img262/156/goodju9.jpg
then ??!!!
http://img216.imageshack.us/img216/3810/badah8.jpg

thanks in advance and waiting for your help
Re: knowing download speed and ProgressIndicator [message #17232 is a reply to message #17231] Sun, 03 August 2008 19:59 Go to previous message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

another pictuers

http://img262.imageshack.us/img262/9422/goodjh3.jpg


http://img262.imageshack.us/img262/2999/badrn3.jpg
Previous Topic: making thread
Next Topic: sending post message
Goto Forum:
  


Current Time: Fri Mar 29 12:15:31 CET 2024

Total time taken to generate the page: 0.01200 seconds