scpsend

Sends a file from the host with the SCP protocol.

scpsend <filename> [<destination filename>]

Remarks

Causes Tera Term to send the file <filename> to the host with the SCP(Secure Copy Protocol) protocol. If the file <destination filename> is omitted, the file <filename> would be copied in the home directory of the remote host. Tera Term does not pause until the end of the file transfer.
Also, the 2GB over file does not work.

Example

connect '192.168.3.2:22 /ssh /2 /auth=password /user=hoge /passwd=fuga'
wait '$'
scpsend 'C:\usr\cvs\doc\en\teraterm.chm'
scpsend 'C:\usr\cvs\doc\en\teraterm.chm' 'tmp/foo.chm'