Shoutbox

[request resource] download a file with a progressbar - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [request resource] download a file with a progressbar (/showthread.php?tid=73213)

[request resource] download a file with a progressbar by felipEx on 04-01-2007 at 07:13 PM

is it possible?

thanks :)


RE: [request resource] download a file with a progressbar by deAd on 04-01-2007 at 07:33 PM

Not with a progressbar, but to download a file you can use MsgPlus::DownloadFile (there's a finished event but no progress event).


RE: [request resource] download a file with a progressbar by felipEx on 04-01-2007 at 07:51 PM

i saw a script with this feature (to be exact, autoupdate feature) but i don't remember its name.

thanks deAd :)


RE: [request resource] download a file with a progressbar by deAd on 04-01-2007 at 09:01 PM

the Enhancer script uses a progressbar but not actually for the download. It updates it when it connects to the server, gets a response, starts the download, finishes the download, etc. Not actually the download progress :P


RE: [request resource] download a file with a progressbar by NanaFreak on 04-01-2007 at 09:04 PM

I think felu's script @ScriptDev has a good progress bar =\


RE: [request resource] download a file with a progressbar by felipEx on 04-01-2007 at 09:06 PM

maybe him used

code:
<Control xsi:type="ProgressControl" Id="controlId">
<Position Top="62" Width="180" Left="23"/>
<Marquee/>
</Control>


?
RE: [request resource] download a file with a progressbar by NanaFreak on 04-01-2007 at 09:08 PM

quote:
Originally posted by felipEx
maybe him used
code:
<Control xsi:type="ProgressControl" Id="controlId">
<Position Top="62" Width="180" Left="23"/>
<Marquee/>
</Control>


?
no im quite sure his worked like a normal progress bar... just have a look at his code :P
RE: [request resource] download a file with a progressbar by Felu on 04-02-2007 at 10:01 AM

I use a very dodgy way to do it.
1) I get the file size with latest version and change log via XMLHTTP
2) If the update is chosen to be downloaded, I download the file using my exe and run a timer.
3) I check the percentage downloaded using current file size and the size received via XMLHTTPRequest.
4) I update the progress bar and then when the download is finished(both sizes are same) i run the file and close the update window.

For a better explanation you can have a look at @ScriptDev's or Backup Extreme!'s code ;). I don't mind you using my code but i'd like to be credited for it. If you need, you can use the exe aswell(not using a dll as i couldn't register is properly) or maybe ask me to make another one or take the code aswell.


RE: [request resource] download a file with a progressbar by felipEx on 04-05-2007 at 01:14 AM

no idea hehehe
can you help me? :O

i'm trying to make a youtube downloader, if i couldn't.. i'll try to make this with a dll activex :D


RE: [request resource] download a file with a progressbar by Felu on 04-05-2007 at 01:25 AM

quote:
Originally posted by felipEx
no idea hehehe
can you help me?
Read my post above yours.