ssh2_scp_send Send a file via SCP &reftitle.description; boolssh2_scp_send resourcesession stringlocal_file stringremote_file intcreate_mode Copy a file from the local filesystem to the remote server using the SCP protocol. &reftitle.parameters; session An SSH connection link identifier, obtained from a call to ssh2_connect. local_file Path to the local file. remote_file Path to the remote file. create_mode The file will be created with the mode specified by create_mode. &reftitle.returnvalues; &return.success; &reftitle.examples; Uploading a file via SCP ]]> &reftitle.seealso; ssh2_scp_recv copy