TApxProtocol.BytesRemaining

TApxProtocol

property BytesRemaining : LongInt

The number of bytes still to be transferred in the current file.

This is computed as the FileLength minus the value of BytesTransferred. When the file size isn't known, BytesRemaining returns zero.

This property is most useful within an OnProtocolStatus event handler. See "Protocol status" in the printed documentation for more information.

See also: BytesTransferred, FileLength