ftp_size Returns the size of the given file Description intftp_size resourceftp_stream stringremote_file ftp_size returns the size of a remote_file in bytes. If an error occurs, or if the given file does not exist, or is a directory, -1 is returned. Not all servers support this feature. Returns the file size on success, or -1 on error. <function>ftp_size</function> example ]]> See also ftp_rawlist.