What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Cancelling MsgPlus::DownloadFile

[?] Cancelling MsgPlus::DownloadFile
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. [?] Cancelling MsgPlus::DownloadFile
i'm currently testing some code and playing around with MsgPlus.DownloadFile.
is there a way to 'cancel' the function before it finishes?
[quote]
Ultimatess6
: What a noob mod
08-09-2008 07:58 AM
Profile PM Web Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
RE: [?] Cancelling MsgPlus::DownloadFile
Short but simple: No.
Actually I haven't tried, but if you add an OutFile, and try deleting that file, there's two possibilities: either it fails because the file is locked, or it succeeds and the DownloadFile returns with boolSuccess = false.
Might be interesting though what Patchou has to say about this.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
08-09-2008 08:15 AM
Profile E-Mail PM Web Find Quote Report
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: [?] Cancelling MsgPlus::DownloadFile
Well, if you try to download a file in many sections/parts using the xmlhttp object and "Content-Range" header, you can "cancel" the download by stopping the request of the next file byte range from the server. :^)
08-09-2008 09:48 AM
Profile E-Mail PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [?] Cancelling MsgPlus::DownloadFile
quote:
Originally posted by felipEx
Well, if you try to download a file in many sections/parts using the xmlhttp object and "Content-Range" header, you can "cancel" the download by stopping the request of the next file byte range from the server. :^)

But with xmlhttp you can just .abort() 8-) :P
08-09-2008 09:51 AM
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