Javascript debugger
Website design
↑
An SSH connection link identifier, obtained from a call to ssh2_connect().
Path to the remote file.
Path to the local file.
<?php
$connection = ssh2_connect('shell.example.com', 22);
ssh2_auth_password($connection, 'username', 'password');
ssh2_scp_recv($connection, '/remote/filename', '/local/filename');
?>
ssh2_scp_send() |
copy() |