ssh2_scp_send

Example

 bool ssh2_scp_send ( resource $session , string $local_file , string $remote_file [, int $create_mode = 0644 ] ) 

Description

Copy a file from the local filesystem to the remote server using the SCP protocol.

Return Values

Returns TRUE on success or FALSE on failure.