Re: xterm binary ascii transfer



yyy@xxxxxxx wrote:
> i have a crude remote system with an ethernet connection but no real
> network software (ftp, ssh, nfs). i have access to the machine via an
> xterm session. is there a way to transfer binary files through such a
> channel ?

Yeah, Kermit was designed for sending data across terminal sessions

There is a GNU variant GKermit

> i managed manually to send binary files encoded as hex values using od.
> pasted them into the xterm buffer and decoded with the printfs on the
> target system. it did work, but was slow and tedious. is there a way to
> automate it ? zmodem or any serial protocol operating on the clipboard ?

That's how it works :)

Most terminal emulators support a send file option.

Via your terminal session, make the target directory current, then run kermit.

$ cd /targetdirectory
$ gkermit -r

Now send your file, from the terminal emulator, using the send file option.


Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

.