int ftp_chmod ( resource $ftp_stream , int $mode , string $filename )
Sets the permissions on the specified remote file to mode.
Returns the new file permissions on success or FALSE on error.