TApxProtocol.FileDate

TApxProtocol

property FileDate : TDateTime

Returns the date and time of the file being transferred.

For transmitted files the file timestamp is always known. For received files the timestamp is known only if the protocol supports this feature and the receiver has received this information. FileDate is accurate after FileName returns a non-empty string.

If the timestamp is not known, FileDate returns zero.

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

See also: FileLength, FileName