Using XFER
Advanced User’s Guide
3-17
Crash recovery uses the CRC of the sender’s and receiver’s files to ensure that
the portion of the file that was successfully received in the first transfer is
identical to that portion of the sender’s copy of the file. If this is true, then the
receiver instructs the sender to begin sending data beginning at the point in the
file that corresponds to the end of the file on the receiver’s side.
By default, crash recovery is turned off. To use the
C
option, replace the
#
symbol with the desired setting:
1
- No crash recovery
2
- Follow sender
3
- Always use crash recovery
If the
C
option is used without including a number, then the
1
setting is
assumed. An invalid setting will result in an error on the command line.
The
C
option can be used in conjunction with the
O
option. If
C2
(follow
sender) is specified on the command line, the receiver will use the sender’s crash
and overwrite options. Any overwrite options local to the receiver will be
ignored. This is useful if a default crash-recovery command is specified in the
XFER_ARGS
environment variable (refer to
) and crash recovery for
the current transfer is temporarily disabled.
D#
Delay Before Terminating Transmission:
This option allows specifying a
timeout. If the specified number of seconds elapse with no characters received
by either the sender or the receiver, the program aborts the transfer session.
To use the
D
option, replace the
#
symbol with the desired number of seconds
for the timeout delay. Acceptable values are
0
(no timeout) through
65,535
;
the default is
60
. A value of
0
disables the timeout feature, meaning that the
transfer session will never be aborted because of inactivity. If the
D
option is
used without specifying a number, an error will occur.
This option is supported by Zmodem protocol only. Xmodem will never attempt to
recover a file after a crash.
This option is supported by Zmodem protocol only. Xmodem will never attempt to
recover a file after a crash.
advuser.book Page 17 Friday, September 27, 2002 4:22 PM