Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Progress: 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/Progress.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Progress Property = | __NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Progress Property = |
Revision as of 22:46, 12 August 2022
<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.