Doing file transfers via Kermit, etc

Date of last revision: 10/19/1998

WARNING! As with the use of dialin (see "helpme dialin"), you use these utilities entirely at your own risk. Due to the wide variety of both computers and communication programs, we can not and will not guarantee support the use of these programs beyond their availability.

To find out how to dialin to our system, see "helpme dialin".


You can now do file transfers between the Design Center HPs and your computer! You can do this via four transfer protocols:
Protocol             Command to upload         Command to download
                     with this protocol        with this protocol

Kermit               kermit receive            kermit send
ZModem               rz                        sz
YModem Batch         xmodem rb                 xmodem sb
XModem               xmodem rx                 xmodem sx

PREPARATION

None.

RUNNING

Run the appropriate command above depending on which protocol you wish to use. After the appropriate commands, specify the file(s) you want sent, e.g.:

kermit send filename.c

More help is available in the man pages for kermit, rz, sz, and xmodem.


PRINTING/PLOTTING

N/A.

NOTES

Although Kermit is slower, Kermit generally will work in a wider variety of sessions (including over Telnet links). The other protocols require an 8-bit link into the system (Telnet is generally only 7 bit and will not pass-thru certain control characters).

X/Y/ZModem will only work on 8-bit links and will only work semi-reliably unless you modify some of the "default" parameters when you dialin. (See "helpme dialin" for how to dialin.) Do the following after entering in your username to the campus terminal server ( Local> is the prompt you get from the terminal server) :

Local> set port flow control dsr

This will enable flow control properly. You will also need to do an 'rlogin' connection to the workstations as this seems to improve reliability:

Local> c r hpux.scudc.scu.edu

Assuming you entered your login name for the HP's correctly when you initially connected to the, you will be prompted for your password. If you did not enter your correct login name for the HP's when you initially connected, press return at the Password: prompt and then enter your correct login name and password as prompted.

Invoking Zmodem with the -e option (sz -e filename ...) also increases reliability, but will also slow down the transfer. You might also try playing with the 'Subpacket Length' and the 'Window size' parameters of 'sz' (see the man page on 'sz' for more details):

sz -L 1024 -w 4096 filenames ....