SYNTAX

    xmodem [options] <mode> [<file_name>]


OPTIONS

-h (--help) bool

Display help.

-v (--verbose) bool

Print progress information to STDERR. Only use this if STDERR is attached to something other than STDOUT (e.g. a file).

-o (--overwrite) bool

Overwrite any files that already exist.


ARGUMENTS

<mode>

The required mode. [send, receive]

[<file_name>]

The name of the file to be read or written. If not specified, reads will be written to STDOUT and writes will be read from STDIN. [filename]


DESCRIPTION

An implementation of the XMODEM file transfer protocol.

Note, where possible it is recommended that the alternative ymodem command is used rather than xmodem. This is because xmodem has the unhelpful side effect of appending 0x1a characters to the end of the file being transferred. ymodem on the other hand, knows how long the file being transferred is and so can avoid this problem. It is also able to transfer multiple files in a batch and allows the sending end to specify their names. Note also that the console implementation that ymodem is attached to must support binary mode. If it doesn't, KErrExtensionNotSupported (-47) will be reported. In practice, this currently means that one of the vt100 console variants (vt100cons.dll, vt100busdevcons.dll, vt100usbcons.dll, vt100btcons.dll or vt100tcpcons.dll) must be used.


SEE ALSO

ymodem


COPYRIGHT

Copyright (c) 2008-2010 Accenture. All rights reserved.