wodTelnetDLX ActiveX Control - TransferProgress Method
      
 

Description
Called during file transfer.

Return Type

None  


Syntax

object.TransferProgress Owner, Position, Total



The TransferProgress Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTelnetNotify.
Owner Required. A wodTelnetDLXCom object. Reference to wodTelnetDLXCom instance that called this callback method.
Position A Long value. Current transfer position.
Total A Long value. Total number of bytes that will be transferred.

Remarks

NOTE: This method is called only if you implemented IwodTelnetNotify interface in your application, and wodTelnet.Notification property has received reference to instance of your implementation.

TransferProgress notification method is called as progress indicator during the transfer initiated by SendFile/ReceiveFile methods. It will usually fire more than once, on variable positions. ZMODEM protocol, for example, sends different packet lengths depending on line speed and quality - and you cannot change these lengths.

It is possible that Position reverts back during the transfer - this happens if remote side didn't correctly receive our blindly sent packets, and we need to resend file from certain position. When transfer finishes, TransferEnd notification will be called. Same rules apply when file is being received.