How to download - 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: How to download (/showthread.php?tid=87388) How to download by ArkaneArkade on 11-20-2008 at 11:05 PM
Hey all, RE: How to download by SmokingCookie on 11-24-2008 at 07:31 AM
Apparently, downloading from dynamic pages is not possible. RE: How to download by ArkaneArkade on 11-24-2008 at 08:42 AM OK, cheers Smokie. I'll have to figure something else out for that later on. May find some other way to steal the image. RE: How to download by matty on 11-24-2008 at 01:55 PM
The mimetype is image/jpg. code: Now I cannot guarantee that the callback function for this works because Plus! had to handwrite all of the function callbacks and he may have missed this one. If this is the case then you can do this: code: RE: How to download by ArkaneArkade on 11-25-2008 at 05:25 AM
Cheers matty. I have that working... at least for the download. I get object doesnt support method errors, so I guess that the callback was missed. Shouldn't matter though... I'll just need to figure out some other way to detect it, so that I don't set my image to an incomplete file. RE: How to download by Spunky on 11-25-2008 at 11:58 AM
quote: Is it possible to compare file sizes? or md5 hashes if you really wanna go nuts RE: How to download by matty on 11-25-2008 at 12:35 PM URLDownloadToFile I do believe is a synchronous call meaning when it returns 0 for success the file is done. RE: How to download by Matti on 11-25-2008 at 05:46 PM
quote:Unfortunately, it's not. quote:That means: it returns as soon as its started, from there you're supposed to monitor the progress through the callback function - which we can't do unfortunately. Ugh, how I hate the lack of asynchronous callback support. RE: How to download by matty on 11-25-2008 at 06:05 PM
quote:Oops I didn't actually read the MSDN article ahaha! And why didn't MsgPlus.DownloadFile work? It should process the url like any other. |