ftp_chmod Set permissions on a file via FTP &reftitle.description; intftp_chmod resourceftp_stream intmode stringfilename Sets the permissions on the specified remote file to mode. &reftitle.parameters; ftp_stream The link identifier of the FTP connection. mode The new permissions, given as an octal value. filename The remote file. &reftitle.returnvalues; Returns the new file permissions on success or &false; on error. &reftitle.examples; <function>ftp_chmod</function> example ]]> &reftitle.seealso; chmod