Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Incoming: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:46:05 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/fileinfo/properties/Incoming.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Incoming Property = | __NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Incoming Property = |
Revision as of 22:46, 12 August 2022
<a class="clsStd" href="../index.htm">FileInfo</a>.Incoming Property
Returns a Boolean value representing whether a FileInfo object is being received (True) or sent (False).
VBScript Syntax
external.Channel.FileInfo.Incoming
JavaScript Syntax
window.external.Channel.FileInfo.Incoming
Property Value
Boolean value. A value of True indicates that the file is incoming; a value of False indicates that the file is outgoing. If no file is being transferred, this property has no value.
VBScript Example
The following example displays a message indicating whether the current file transfer is an upload or a download by checking the value of Channel.FileInfo.Incoming.
if ( testFile.Incoming = True ) then document.write( "Download in progress." ) if ( testFile.Incoming = False ) then document.write( "Upload in progress." ) ' If neither, there is no file transfer in progress