sx - Send files using XMODEM or YMODEM
sx [ options ] file…
Sx sends files using XMODEM or YMODEM transfer protocol. A number of options control the transfer characteristics:
Binary II mode (Apple II). This causes sx to wrap files in Binary II format. This transmits directory information unique to the file, and required by the ProDOS operating system.
128-byte blocks with CRC-16.
Double delay tolerance. This effectively doubles the time that sx allows for responses over sluggish packet-switched networks.
Send the file’s full pathname — the prefix to the file plus the file’s name.
1K blocks with CRC-16.
4K blocks with CRC-16.
ProDOS mode (Apple II). Like the Binary II mode, this option employs an extension unique to some Apple II terminal programs to transfer file information. This scheme has been made obsolete by the Binary II standard, but is included for compatibility with older programs.
Text mode. This mode converts end of line characters (newlines) to be compatible with all operating systems. Include this option whenever text files are sent to ensure proper newline conversion. Newline characters are Control-M in Apple II and Macintosh operating systems, Control-J in UNIX, and Control-M Control-J in MS-DOS.
YMODEM batch mode with at least 1K blocks and CRC-16. YMODEM-g is supported if requested by the receiver.
Without options, sx sends files in plain 128-byte XMODEM protocol using checksums for error correction.