Description
-
Fires during file transfer.
Syntax
-
Private Sub
object_TransferProgress( Position,
Total)
The TransferProgress Event syntax has these parts:
| object |
A wodTelnetDLX
object. |
| Position |
A Long value. Current transfer
position. |
| Total |
A Long value. Total number of
bytes that will be transferred. |
Remarks
-
-
TransferProgress event is fired 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 event will fire. Same rules apply when file is being
received.
|