ftp_chmod Set permissions on a file via FTP Description stringftp_chmod resourceftp_stream intmode stringfilename 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.