What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Upload Complete Script Wont Work (First Script

Upload Complete Script Wont Work (First Script
Author: Message:
LukeZaz
New Member
*


Posts: 4
Joined: Jul 2009
O.P. Upload Complete Script Wont Work (First Script
I just completed my first script, the Upload Completed Script, it notifies if a sent upload has just completed, but the thing is, my friend helped me test, and when he sent me a totally blank file and it completed the toast window never showed!

code:
function OnEvent_Initialize(MessengerStart)
{
    Debug.Trace("Hello World!");
}

function OnEvent_Uninitialize(MessengerExit)
{
}

function OnEvent_UploadFileComplete(Server, Dest, SrcFile, Success)
{
    var Message = "Upload Complete! Success " + Messenger.MyName + "!";
    Message = MsgPlus.RemoveFormatCodes(Message);
    MsgPlus.DisplayToast("", Message);
}
Please Help
07-10-2009 09:35 PM
Profile E-Mail PM Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: Upload Complete Script Wont Work (First Script
It looks like you misunderstood the purpose of OnEvent_UploadFileComplete.

from the scripting docs:
quote:
The OnEvent_UploadFileComplete event is fired when an upload operation previously initiated by MsgPlus::UploadFileFTP completes.

It has nothing whatsoever to do with file transfers, but notifies you when an upload (through Messenger Plus! scripting) to an FTP server has completed.
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-10-2009 10:05 PM
Profile PM Find Quote Report
LukeZaz
New Member
*


Posts: 4
Joined: Jul 2009
O.P. RE: Upload Complete Script Wont Work (First Script
Well, How can i make it work with file transfers?
07-10-2009 10:08 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Upload Complete Script Wont Work (First Script
Only through using Xniff and it would be extremely difficult. A few of us have tried to get information from file transfers and it never really completed.
<Eljay> "Problems encountered: shit blew up" :zippy:
07-10-2009 10:55 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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