Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnSendFileCancelled: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) No edit summary |
Animadoria (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
</div> | </div> | ||
Remarks | === Remarks === | ||
Either the local or remote user can invoke <span class="clsMethod">CancelSendFile</span>. | Either the local or remote user can invoke <span class="clsMethod">CancelSendFile</span>. |
Latest revision as of 00:53, 13 August 2022
Channel.OnSendFileCancelled Event (Restricted)
This event fires when a file transfer is canceled either because of the CancelSendFile method or because of an error. The event is labeled "restricted" because it is only available if the application has the SendFile permission flag. For more information, see Standard vs. Advanced Applications.
VBScript Syntax
function Channel_OnSendFileCancelled() ' A file transfer has been cancelled; update the screen. End Function
JavaScript Syntax
function Channel_OnSendFileCancelled() { // A file transfer has been cancelled, update the screen. }
Remarks
Either the local or remote user can invoke CancelSendFile.