Guten Abend,
Du könntest Dur die Funkton Size der
Indy FtpKomponente zu nutzen machen:
Zitat von
IndyHilfe:
Gets file size information from the FTP server.
function Size(const AFileName: String): Integer;
Parameters
const AFileName: String
The file name.
Returns
Integer - Size of the file or -1 when unknown.
Description
Size is an Integer function used to retrieve file size information for the file specified in AFilename from the FTP server.
Grüße
Klaus