Name

sx - Send files using XMODEM or YMODEM

Syntax

sx [ options ] file

Description

Sx sends files using XMODEM or YMODEM transfer protocol. A number of options control the transfer characteristics:

-b

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.

-c

128-byte blocks with CRC-16.

-d

Double delay tolerance. This effectively doubles the time that sx allows for responses over sluggish packet-switched networks.

-f

Send the file’s full pathname — the prefix to the file plus the file’s name.

-k

1K blocks with CRC-16.

-l

4K blocks with CRC-16.

-p

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.

-t

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.

-y

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.

See Also

rx(C), rz(C), sz(C)