scprecv

Receives a file from the remote host with the SCP protocol. (version 4.57 or later)

scprecv <remote filename> [<local filename>]

Remarks

Causes Tera Term to receive the remote file <remote filename> to the host with the SCP(Secure Copy Protocol) protocol. If the local file <local filename> is omitted, the file <remote filename> would be copied in the current directory of the local host. Tera Term does not pause until the end of the file transfer.

Example

connect '192.168.3.2:22 /ssh /2 /auth=password /user=hoge /passwd=fuga'
wait '$'
scprecv 'usr/bin/ls.exe'
scprecv 'sample.bin' 'd:\hoge.bin'