|
PHP5中文手册
ssh2_scp_recv(PECL ssh2:0.10-0.9) ssh2_scp_recv — Request a file via SCP 说明
bool ssh2_scp_recv
( resource $session
, string $remote_file
, string $local_file
)
Copy a file from the remote server to the local filesystem using the SCP protocol. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Downloading a file via SCP
<?php |