On Thu, Jan 13, 2000 at 09:59:15PM +1100, Paul Clyne wrote:
> Listers,
> I'm sure that armed with two working serial ports and my trusty LL3 cable
> I can do a simple single file transfer, but how ?.
>
> On the 'sender' could I just cat the file to /dev/tty1 ?
> could then the 'receiver' just /dev/tty1 > filename
>
> It couldn't be that easy, why wouldn't this work ?..
It just might.. dunno for sure, haven't tried it.
That shouldn't take more than a minute to try, I'd see if it works...
you would want to make sure both serial ports were set for the same
bps rate, and the serial device is /dev/ttyS* not /dev/tty1, and
serial ports count from 0. /dev/ttyS0 is the first one and so on..
The way I would do it is with minicom. Fire up minicom on both ends of
the link, and send the file over with zmodem. This has the advantage of
error-checking, and possibly compression(not sure). If the file is big
enough that floppies are a problem, I would not want to do it w/o error
checking.
Only other one I can think of is kermit, rpms are here:
It's some kinda serial line file transfer protocol that's been
around forever..
ftp://kermit.columbia.edu/kermit/archives/gkermit-1.0-1.i386.rpm
tgzs here(slackware 7):
ftp://kermit.columbia.edu/kermit/bin/gku100.i386-linux-sw7.0
or source here:
ftp://kermit.columbia.edu/kermit/archives/gku100.tar.gz
hope this helps
greg
--
this is not here