ssh2_sftp_mkdirCreate a directory
&reftitle.description;
boolssh2_sftp_mkdirresourcesftpstringdirnameintmode0777boolrecursivefalse
Creates a directory on the remote file server with permissions set to
mode.
This function is similar to using mkdir with the
ssh2.sftp:// wrapper.
&reftitle.parameters;
sftp
An SSH2 SFTP resource opened by ssh2_sftp.
dirname
Path of the new directory.
mode
Permissions on the new directory.
recursive
If recursive is &true; any parent directories
required for dirname will be automatically created as well.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
Creating a directory on a remote server
]]>
&reftitle.seealso;
mkdirssh2_sftp_rmdir