|
PHP5中文手册
ssh2_sftp_rename(PECL ssh2:0.10-0.9) ssh2_sftp_rename — Rename a remote file 说明
bool ssh2_sftp_rename
( resource $sftp
, string $from
, string $to
)
Renames a file on the remote filesystem. 返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Renaming a file via sftp
<?php |