<a class="clsStd" href="../index.htm">FileInfo</a>.Incoming Property
Returns a Boolean value representing whether a FileInfo object is being received (True) or sent (False).
Boolean value. A value of True indicates that the file is incoming; a value of False indicates that the file is outgoing. If no file is being transferred, this property has no value.
The following example displays a message indicating whether the current file transfer is an upload or a download by checking the value of Channel.FileInfo.Incoming.
if ( testFile.Incoming = True ) then document.write( "Download in progress." ) if ( testFile.Incoming = False ) then document.write( "Upload in progress." ) ' If neither, there is no file transfer in progress