Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 1996 16:44:17 -0800 (PST)
From:      Jake Hamby <jehamby@lightside.com>
To:        questions@freebsd.org
Subject:   Can I use ZMODEM over Kermit/Telnet?
Message-ID:  <Pine.BSF.3.95.961228162851.371A-100000@hamby1>

next in thread | raw e-mail | index | archive | help
I'd like to be able to download files from Delphi, which is accessible
from telnet or a Web interface.  The problem is that the file libraries
aren't available through the Web interface yet, and I'd like to be able to
download some stuff before then.  The telnet interface supports download
by Kermit or X/Y/ZMODEM.

On FreeBSD, I've tried to telnet in using Kermit, but the remote end has a
lousy Kermit protocol with a fixed 90-byte packet size, so the transfer
rate is abysmal (think 2400 bps modem speeds :-( ).  However, I haven't
been able to get ZMODEM to work through telnet, even when I telnet to
myself!  Is there some limitation of the ZMODEM protocol that prevents it
from working through telnet, or is there a bug in the port of Kermit to
FreeBSD which isn't redirecting the stdio to ZMODEM properly?  Here is
a typical session:

> kermit
C-Kermit 6.0.192, 6 Sep 96, for FreeBSD
 Copyright (C) 1985, 1996,
  Trustees of Columbia University in the City of New York.
Default file-transfer mode is TEXT
Type ? or HELP for help.
[/usr/home/jehamby/c64] C-Kermit>telnet localhost
 Trying 127.0.0.1...
Connecting to host localhost.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.

FreeBSD (hamby1.lightside.net) (ttyp3)

login: jehamby
Password:
Last login: Sat Dec 28 16:35:25 from localhost

... login stuff deleted

> sz classic2.mp3 
**wB00000000000000
p
(Back at hamby1.lightside.net)
[/usr/home/jehamby/c64] C-Kermit><rz
Receiving: classic2.mp3
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Bytes received:       0/  23552   BPS:0      ETA 00:00  Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Bytes received:       0/  23552   BPS:0      ETA 00:00  Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC

rz: classic2.mp3 removed.

Transfer incomplete
?Command exit status: 1
[/usr/home/jehamby/c64] C-Kermit>

I'm using FreeBSD-current, and I tried both lrzsz and rzsz for ZMODEM. 
I've tried fiddling with the various parameters, and the problem seems to
occur regardless of the setting of TERM AUTODOWNLOAD, FILE TYPE, or TERM
BYTESIZE.  The only ZMODEM option that looks relevant is "-e", escape
control characters, but it doesn't help.  It looks like telnet is not
providing a clean connection, but what can I do?  Any help would be
greatly appreciated. Thanks!

------------------------------------------------------------------------------
|Jake Hamby| Ask me about Unix, FreeBSD, Solaris, The Tick, BeOS, or NT, eh? |
------------------------------------------------------------------------------
"This space intentionally left blank."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961228162851.371A-100000>