FtpSize is available since version 1.0.
Prototype:
number FtpSize(string path, number mode, number connection_handle)
Parameters
mode
the ftp mode: FTPLIB_ASCII or FTPLIB_IMAGE
Description:
Get the size of a remote file.
Return value:
Returns the file size, or -1 if failed.