PHP. Руководство по PHP. 2005
ssh2_scp_send
ssh2_scp_send
Description
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.
The file will be created with the mode specified by create_mode.
See Also:
ssh2_scp_recv(), and
ssh2_scp_recv
ssh2_sftp_lstat
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.