mixed Net_FTP::size (
gives you the size of a file bytes.
string $file - The file to check.
mixed - the size of the given file on success, otherwise PEAR::Error.
The returned PEAR_Error object in case of an error is unspecific. You can ignore the errornumber and errormessage, because only "Connection failed" will be returned if the connection fails.
This function can not be called statically.