Internet Direct (Indy) Version 9.0.1 Beta
Content
|
Index
|
Reference
TIdFTP.Size
TIdFTP
,
Example 1
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.