ssh2_sftp_chmod Changes file mode &reftitle.description; boolssh2_sftp_chmod resourcesftp stringfilename intmode Attempts to change the mode of the specified file to that given in mode. &reftitle.parameters; sftp An SSH2 SFTP resource opened by ssh2_sftp. filename Path to the file. mode Permissions on the file. See the chmod for more details on this parameter. &reftitle.returnvalues; &return.success; &reftitle.examples; Creating a directory on a remote server ]]> &reftitle.seealso; chmod ssh2_sftp ssh2_connect