What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Download a File

Download a File
Author: Message:
leetking
New Member
*


Posts: 10
– / Female / Flag
Joined: Dec 2008
O.P. RE: RE: Download a File
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);

This works.

code:
Skript wurde angehalten
Skript wird gestartet
Skript wurde geladen und ist bereit
Aufgerufene Funktion: OnEvent_DownloadFileComplete
Url: http://www.msgpluslive.net/favicon.ico
OutFile: C:\DOKUME~1\Manuel\LOKALE~1\Temp\mpscript_343b.tmp
Success: true


But:
code:
var Url = "http://www.msgpluslive.net/favicon.ico";
var OutFile = "C:\\ ";
MsgPlus.DownloadFile(Url, OutFile);

doesnt work:
code:
Skript wird gestartet
Skript wurde geladen und ist bereit
Aufgerufene Funktion: OnEvent_DownloadFileComplete
Url: http://www.msgpluslive.net/favicon.ico
OutFile: C:\
Success: false
06-20-2009 12:50 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Download a File - by leetking on 06-19-2009 at 11:12 PM
RE: Download a File - by ryxdp on 06-19-2009 at 11:50 PM
RE: RE: Download a File - by leetking on 06-20-2009 at 12:50 PM
RE: Download a File - by Matti on 06-20-2009 at 12:55 PM
RE: RE: Download a File - by leetking on 06-20-2009 at 01:01 PM
RE: Download a File - by NanaFreak on 06-20-2009 at 01:11 PM
RE: Download a File - by Matti on 06-20-2009 at 01:18 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On