Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: programming about download progress ?< Next Oldest | Next Newest >
kuangtu Offline





Group: Members
Posts: 9
Joined: May 2006
Posted: Sep. 04 2006,06:37 QUOTE

the system is :DSL 2.2
the programming goal is download a file through http server.
tools: FLUA
i create a simple window dialog using FLUA script.
it contain a input (the address of url) and a download button .
when i enter the download button ,the script execute the wget ...... to download the file.
we want to display the download progress in the dialog. (running this script in xterm ,we get the progress.but we don't adopt the method )
"wget .... &2>progress" can record the download process in file progress in special file format.
our main idea is when the program executes the wget in background. we start another thread to read the file progress,retrive the XX% and display it in the dialog interval. we use the BOX's label to display the X%.
But we don't know how to implment it  ?

any suggestion is appreciate.
Back to top
Profile PM 
0 replies since Sep. 04 2006,06:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: programming about download progress ?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code