Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Size
Jump to navigation
Jump to search
Properties.Size Property
Returns a Long value representing the size of the file that is being transferred.
VBScript Syntax
external.Channel.FileInfo.Size
JavaScript Syntax
window.external.Channel.FileInfo.Size
Property Value
A Long value representing the size of the file being transferred. If no file is being transferred, the property has no value.
VBScript Example
To write the size of the file in bytes, write the value of Channel.FileInfo.Size.
Dim testFile Set myChannel = external.Channel testFile = myChannel.FileInfo document.write( "File size is " + testFile.Size )