File Transfer Flow Control Troubleshooting
Thursday, May 10th, 2007Flow control issues in file transfer can manifest several different ways in a TERM-to-TERM environment. CRC errors typically occur. Often a file can only be transferred one direction. Only a portion of the file transfers, or perhaps none at all. There are several troubleshooting steps:
- Make sure you have selected the same protocol on both sides.
- Login to the remote system and put it in the server mode appropriate to the protocol. Server mode is invoked with
term -1x
for WTERMCRC, orterm -x
for TERMCRC. - Initiate the file transfer by doing an XFER or GET. Enter the complete path in the source or destination directory, or use a period . for the default directory. Transfers from UNIX to DOS require that file conversion be turned on as well.
- If you still cannot transfer the file, you may have flow control problems. You may have to turn flow control off, location by location, beginning with your modem if possible. Flow control is turned off in each modem differently, so see your modem documentation.
- The next location to turn flow control off is in TERM itself. This is done by editing the .termsys file in the user’s home directory or the C:\Term directory. Add the following entry in the “!file transfer” section:
protocol NONE
This must be done in TERM on both sides.
- If the file will still not transfer, try turning flow control off at the unix ports themselves. The UNIX command
stty -a
display the “ixon,” “ixany” and “ixoff” flow control parameter settings. The commandstty -ixany
will turn off “ixany,” and the commandstty ixany
will turn it on. You will need to experiment with various combinations of these flow control parameters.