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