<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 03 Jun 1988 15:56:00 CDT
From   : jdb@ncsc.ARPA (Brown)
Subject: Need help with Unix FTP and Kermit

It sounds like you are running kermit on the unix machine with file type
set to text.  Since unix text format is

 a line of stuff<LF>

when it is sent out by things like ftp, kermit, xmodem, etc. they insert
a <CR> in front of the <LF>'s.  This works fine for text files but
wrecks havoc on binary files.

You can either invoke kermit with

kermit -xi

which sets kermit into server mode (the 'x') and sets file type to binary
(the 'i'), or run it with no parameters and do a 'set file type binary'
before going to server mode.  This is available in all the C-Kermit
versions that I have used. (currently using 4E(070) 29 Jan 88)

If you do download a text file while set to binary, the file will
contain no carriage returns and the lines
                                        will trail
                                                  across the screen
                                                                   like this.

There is a program available at Simtel20 that will un-unixize these
type files by adding the <CR>'s.  I don't have my list handy so I can't
tell you what it is called right off.

hope this helps.
david brown
jdb@ncsc.arpa

<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>