ftp_size

Example

 int ftp_size ( resource $ftp_stream , string $remote_file ) 

Description

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

Return Values

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