property FileLength : LongInt
Returns the size of the file being transferred.
For transmitted files the file size is always known. For received files the file size is known only if the protocol supports this feature and the receiver has received this information. FileLength is known after FileName returns a non-empty string. If the file size is not known, FileLength returns zero.
This property is most useful within an OnProtocolStatus event handler. See "Protocol status" in the printed documentation for more information.
See also: FileDate