Users can interrupt file transfers before completion. Any unrecoverable communication error can interrupt a file transfer. An interrupted file transfer can be started again without loss of data. When a transfer is interrupted, the state of the transfer is saved in a restart file in the user's $HOME directory. A maximum of five transfer requests can be saved in restart files.
Restart an interrupted file transfer using the fxfer command with the -R flag. The -R flag brings up a menu displaying these choices:
The fxfer command restarts the previous file transfer using the information saved in the $HOME/x_fxfer.r or $HOME/i_fxfer.r file. The $HOME/i_fxfer.r file contains restart information for implicit file transfers. The $HOME/x_fxfer.r file contains restart information for explicit file transfers.
If the user runs a new file transfer, after a file transfer has been interrupted, the fxfer command reminds the user a restart file exists. A restart menu displays with these choices:
If the user elects to continue the current file transfer, the restart file for the previous transfer can be deferred or deleted.
If the host communication is lost or disconnected, an implicit file transfer attempts to recover by reconnecting and logging back on to the host using the dfxfer process. The length of time the dfxfer process attempts recovery is determined by the File Transfer Recovery Time value in the session profile. Once the host communication is established, the dfxfer process begins the file transfer. If communication cannot be established, the file transfer program generates a restart file.
HCON sessions can be interrupted by a power failure or a loss of connection to the host. If a session is interrupted, the processes associated with the session may not be stopped. Stop these processes with the e789cln command. The e789cln command stops specified HCON sessions and the processes associated with those sessions. These guidelines govern the use of the e789cln command.
Note: Use the QUIT emulator key (by default, the Ctrl-D key sequence) to stop a normal session.