Shoutbox

[?] MsgPlus.DownloadFile Help - 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: [?] MsgPlus.DownloadFile Help (/showthread.php?tid=84988)

[?] MsgPlus.DownloadFile Help by Spunky on 07-24-2008 at 12:00 AM

I thought I managed to mess up the dynamic URL function I was using, but I can't even seem to download the msgpluslive.net favicon.ico now =/

code:
url = "www.msgpluslive.net/favicon.ico"
MsgPlus.DownloadFile(url);


quote:
Originally posted by Debug

Function called: OnEvent_DownloadFileComplete
URL: www.msgpluslive.net/favicon.ico
OutFile: C:\Users\SPUNKY~1\AppData\Local\Temp\mpscript_5fc7.tmp
Success: false


Any ideas? :(
RE: [?] MsgPlus.DownloadFile Help by Eljay on 07-24-2008 at 12:02 AM

need the http:// ?


RE: [?] MsgPlus.DownloadFile Help by Spunky on 07-24-2008 at 12:04 AM

I did try that too... It doesn't make a difference


RE: [?] MsgPlus.DownloadFile Help by roflmao456 on 07-24-2008 at 02:16 AM

works for me :\

quote:
Script is starting
Script is now loaded and ready
Function called: OnEvent_DownloadFileComplete
Url: http://www.msgpluslive.net/favicon.ico
OutFile: C:\DOCUME~1\John\LOCALS~1\Temp\mpscript_ac86.tmp
Success: true


code:
function OnEvent_DownloadFileComplete(Url, OutFile, Success){
    Debug.Trace("Url: " + Url);
    Debug.Trace("OutFile: " + OutFile);
    Debug.Trace("Success: " + Success);
    }

var Url = "http://www.msgpluslive.net/favicon.ico";
MsgPlus.DownloadFile(Url);