FTPS: Get information about file
If the server supports MLSD command (this can be checked using ExtMLSTSupported property of TElSimpleFTPSClient class), you can use the reliable way to get file information by using MLST() method. TElSimpleFTPSClient.MLST() method is used to retrieve information about the particular object. Retrieved information will be parsed and stored in TElFTPFileInfo instance.
TElSimpleFTPSClient.GetFileSize() method returns the size of the file. This method attempts to use SIZE and MLST commands if available, otherwise reverts to LIST command.
TElSimpleFTPSClient.GetFileTime() method is used to retrieve the file date. This method attempts to use MDTM and MLST commands if available, otherwise reverts to LIST command.