Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

telnet binary file transfer

568 views
Skip to first unread message

Per Akesson

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
I'm using telnet for transfer of binary files.

Though it seems that telnet interprets the 0xff as delete character.

On the client side, the byte following a 0xff byte, is stripped.

Is it possible to transfer binary files "cleanly" with telnet ?

If so, how do I do ?

thanks in advance

--
Per Åkesson
Carmenta AB
SWEDEN


Frank da Cruz

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
In article <37C51CE8...@carmenta.se>,
Per Akesson <Per.A...@carmenta.se> wrote:
: I'm using telnet for transfer of binary files.

:
: Though it seems that telnet interprets the 0xff as delete character.
:
: On the client side, the byte following a 0xff byte, is stripped.
:
: Is it possible to transfer binary files "cleanly" with telnet ?
:
Yes, if you use C-Kermit as your Telnet client:

http://www.columbia.edu/kermit/

- Frank

Brad Powell

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
In article <37C51CE8...@carmenta.se>, Per Akesson <Per.A...@carmenta.se> writes:
:I'm using telnet for transfer of binary files.

not really advisable, that is what ftp is for :-)
(stuff about 0xff offset deleted)

:Is it possible to transfer binary files "cleanly" with telnet ?
:
:If so, how do I do ?

Well if you *have* to do this and you don't have another option
like rcp or (preferably) scp (ssh copy) you could uuencode the file first.


Small normal files:

cat -u - foobar.c - | telnet foo.com | cat >>/usr/tmp/foobar.c <CTRL-D>

UUencoded:

cat -u - foobar.uu - | telnet foo.com | cat <CTRL-D>
--
=======================================================================
Brad Powell : Personal; br...@fish.com WORK; brad....@Sun.COM
Sr. Network Security Architect
Sun Microsystems Inc. Enterprise Services
=======================================================================
The views expressed are those of the author and may
not reflect the views of Sun Microsystems Inc.
=======================================================================

0 new messages