Transfers files with the xmodem protocol, detecting data transmission errors during asynchronous transmission.
The xmodem shell command is used with the Asynchronous Terminal Emulation (ATE) program to transfer a file, designated by the FileName parameter, using the xmodem protocol.
The xmodem protocol is an 8-bit transfer protocol to detect data transmission errors and retransmit the data. The workstation sending data waits until the remote system sends a signal indicating it is ready to receive data.
After the receiving system get data, it returns an acknowledgment to the sending system. In the ATE program the receiving system times out if data is not received within 90 seconds after the file transfer is initiated.
Sending and receiving with the xmodem command are complementary operations. One system must be set to send while the other is set to receive. Use the xmodem command on the remote system in combination with the send subcommand or the receive subcommand from the ATE Connected Main Menu on the local system.
To interrupt an xmodem file transfer, press the Ctrl-X key sequence.
:%s/<Ctrl-V><Ctrl-M>//| Item | Description | 
|---|---|
| -r | Receives data from the local workstation. | 
| -s | Sends data to the local workstation. | 
Sending a File with the xmodem Protocol
To send the file myfile with the xmodem protocol, use the ate command and the connect or directory subcommand to establish a connection to the remote system.
xmodem -r myfileThe ATE Connected Main Menu displays.
s myfileReceiving a File with the xmodem Protocol
Receive the file infile from a remote system using xmodem protocol with the ate command and the connect or directory subcommand establishing a connection to the remote system.
xmodem -s infileThe ATE Connected Main Menu displays.
r infile| Item | Description | 
|---|---|
| ate.def | Contains ATE default values. |