Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Progress
<a class="clsStd" href="../index.htm">FileInfo</a>.Progress Property
During a file transfer, returns a Long value representing the number of bytes transferred.
VBScript Syntax
external.Channel.FileInfo.Progress
JavaScript Syntax
window.external.Channel.FileInfo.Progress
Property Value
A Long value representing the number of bytes transferred. If no file is being transferred, returns zero.
VBScript Example
To display the progress of a file transfer, write or calculate by using the value of Channel.FileInfo.Progress.
Dim testFile Set myChannel = external.Channel testFile = myChannel.FileInfo document.write( "File transfer in progress, " + testFile.Progress + _ " / " + testFile.Size " bytes transmitted." )
Remarks
File progress is updated every 0.5 percent of the total file transfer. This is to provide a reasonable progress bar display without overwhelming the event handler with file progress updates.