ssh2_scp_recv
Request a file via SCP
&reftitle.description;
boolssh2_scp_recv
resourcesession
stringremote_file
stringlocal_file
Copy a file from the remote server to the local filesystem using the SCP protocol.
&reftitle.parameters;
session
An SSH connection link identifier, obtained from a call to
ssh2_connect.
remote_file
Path to the remote file.
local_file
Path to the local file.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
Downloading a file via SCP
]]>
&reftitle.seealso;
ssh2_scp_send
copy