|
PHP5中文手册
ssh2_sftp(PECL ssh2:0.10-0.9) ssh2_sftp — Initialize SFTP subsystem 说明
resource ssh2_sftp
( resource $session
)
Request the SFTP subsystem from an already connected SSH2 server. 返回值This method returns an SSH2 SFTP resource for use with all other ssh2_sftp_*() methods and the ssh2.sftp:// fopen wrapper. 范例
Example#1 Opening a file via SFTP
<?php |