Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnFileProgress: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:45:53 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/channel/events/OnFileProgress.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= | __NOTOC__= [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Index|Channel]].OnFileProgress Event (Restricted) = | ||
This event fires when some progress has been made toward a file transfer. The event is labeled "restricted" because it is only available if the application has the SendFile permission flag. For more information, see [[Protocols/MSNP/Activities/SDK | This event fires when some progress has been made toward a file transfer. The event is labeled "restricted" because it is only available if the application has the SendFile permission flag. For more information, see [[Protocols/MSNP/Activities/SDK/Sandbox|Standard vs. Advanced Applications]]. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeStd"> | <div class="clsCodeStd"> | ||
Line 12: | Line 12: | ||
<pre class="clsCode">function Channel_OnFileProgress() | <pre class="clsCode">function Channel_OnFileProgress() | ||
' Update a progress meter if applicable. | ' Update a progress meter if applicable. | ||
End Function | End Function</pre> | ||
</div> | </div> | ||
JavaScript Syntax | === JavaScript Syntax === | ||
<div class="clsCodeStd"> | <div class="clsCodeStd"> | ||
Line 22: | Line 21: | ||
<pre class="clsCode">function Channel_OnFileProgress() { | <pre class="clsCode">function Channel_OnFileProgress() { | ||
// Update a progress meter if applicable. | // Update a progress meter if applicable. | ||
} | }</pre> | ||
</div> | </div> | ||
Remarks | === Remarks === | ||
Only one file at a time can be transferred in either direction. | Only one file at a time can be transferred in either direction. |
Latest revision as of 00:50, 13 August 2022
Channel.OnFileProgress Event (Restricted)
This event fires when some progress has been made toward a file transfer. 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_OnFileProgress() ' Update a progress meter if applicable. End Function
JavaScript Syntax
function Channel_OnFileProgress() { // Update a progress meter if applicable. }
Remarks
Only one file at a time can be transferred in either direction.