ftp_size

(PHP 3>= 3.0.13, PHP 4 >= 4.0b4)

ftp_size -- Returns the size of the given file.

Description

int ftp_size (int ftp_stream, string remote_file)

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

ftp_size() returns the size of a file. If an error occurs, of if the file does not exist, -1 is returned. Not all servers support this feature.


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека