|
PHP5中文手册
ssh2_sftp_mkdir(PECL ssh2:0.10-0.9) ssh2_sftp_mkdir — Create a directory 说明
bool ssh2_sftp_mkdir
( resource $sftp
, string $dirname
[, int $mode
[, bool $recursive
]] )
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. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Creating a directory on a remote server
<?php |