Transferring with kermit



next up previous contents index
Next: Getting Programs off Up: Electronic File Transfer Previous: ftp over Internet

Transferring with kermit

If the file transfer is to or from a personal computer via a modem, you may have to use kermit. While the use of kermit on the PC side may depend on the specific PC, it is rather standard on the Unix side.gif For example, let's start by assuming you are running a terminal emulator program on your PC which makes it look like a standard computer terminal to the computer on the other end. These emulator programs might be something like Versaterm-Pro, Red Ryder, or even just kermit. Note, if you are running a windowing environment on your PC, the PC commands may be available on a pull-down menu, so look for them.
  

C:> kermit   	Run kermit from DOS.    
IBM-PC kermit-MS V2.29b 19 Feb 87   	DOS's response.   
type ? for help   	More from DOS.   
connect   	Connect me to the host.   
login   	Unix's response after it connects.   
% ls   	Unix, tell me files in this directory.   
file1   file2   file3   	Unix lists three files.   
%  kermit -s file1   	Send from Unix to DOS!   
Escape back to your local system   	  
and give a RECEIVE  command...   	   
^V C   	To get back to kermit on DOS.   
receive   	Telling DOS's kermit to receive file.   
   	PC now shows it's receiving file.   
%    	Done, back to Unix.   
%  kermit -r    	Receive file on Unix from PC.   
Escape back to your local system   	  
and give a RECEIVE  command...   	   
 ^V C   	To get back to kermit on DOS.   
send C:filenew   	DOS, send this file to Unix.   
   	PC now shows it's sending file.   
%     	Done, back to Unix.   
% ls   	Unix, tell me what I have.   
file1 file2 file3 filenew   	Filenew has been received.   

Note that in order for kermit to work on some Unix systems, you must make the transferred file have the Unix mode read/write -r/w-r/w. You do this with chmod 777.



next up previous contents index
Next: Getting Programs off Up: Electronic File Transfer Previous: ftp over Internet