Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Status
Properties.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