# zmodemsend

Sends a file from the host with the ZMODEM protocol.

    zmodemsend <filename> <binary flag>

## Remarks

Causes Tera Term to send the file <filename> to the host with the ZMODEM 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.

## Example

    zmodemsend 'readme.txt' 0

## See also

- zmodemrecv