ftp_size

 int ftp_size ( resource $ftp_stream , string $remote_file ) 

説明

ftp_size() returns the size of the given file in bytes. Note: Not all servers support this feature.

戻り値

Returns the file size on success, or -1 on error.