Transferring a File

Let's consider the previous example again. The most direct way to proceed at this point is to tell each Kermit what to do. Suppose you want to transfer a file from the host to the PC; first you tell the host Kermit to SEND the file, then ``escape'' back to the PC Kermit and tell it to RECEIVE the file. The transfer begins. The PC Kermit will produce a running display on your screen as the transfer proceeds, and will notify you when it is complete. The desired file is now on your PC's disk. The Kermit protocol has ensured that the file arrived correctly and completely.

Now you must close the transmission: CONNECT back to the host, exit from Kermit on the host, log out from the host, ``escape'' back to PC Kermit and exit from it.

Transferring a file in the other direction works the same way, but with the SEND and RECEIVE commands reversed.