Receives a file from the host with the XMODEM protocol.
xmodemrecv <filename> <binary flag> <option>
Causes Tera Term to receive the file <filename> from the host with the XMODEM protocol. Pauses until the end of the file transfer.
If the file is transferred successfully, the system variable "result" is set to 1. Otherwise, "result" is set to zero.
If the file is a binary file, <binary flag> must be non-zero.
If the file is a text file, <binary flag> must be zero.
<option> specifies the XMODEM option, and can be one of the following:
<option> | XMODEM option |
---|---|
1 | Checksum |
2 | CRC |
3 | 1K |
others | Checksum |
; XMODEM receive, text file, CRC xmodemrecv 'readme.txt' 0 2