ftp_chmod

(PHP 5 CVS only)

ftp_chmod -- Set permissions on a file via FTP

Description

string ftp_chmod ( resource ftp_stream, int mode, string filename)

Sets the permissions on the remote file specified by filename to mode given as an octal value.

Returns the new file permissions on success or FALSE on error.

See also chmod().