Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Status: 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:06 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/fileinfo/properties/Status.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Status Property = | __NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Status Property = |
Revision as of 22:46, 12 August 2022
<a class="clsStd" href="../index.htm">FileInfo</a>.Status Property
Returns a FileStatus enumeration value representing the state of a file transfer.
VBScript Syntax
external.Channel.FileInfo.Status
JavaScript Syntax
window.external.Channel.FileInfo.Status
Property Value
An enumeration value describing the state of a file transfer. This value can be NotStarted, InProgress, Cancelled, or Transferred. If no files are currently being transferred, this property has no value.
VBScript Example
To display the transfer status of a file being transferred, write the value of FileInfo.Status as shown in the following example.
select case myFileTracker.Status case 0 tdFileStatus.innerHTML = "File transfer not started." case 1 tdFileStatus.innerHTML = "File transfer in progress." case 2 tdFileStatus.innerHTML = "File transfer cancelled." case 3 tdFileStatus.innerHTML = "File transfer complete." end select