In order to use modem-style protocols, you need a communications program that can run an external rx
/rb
/sx
/sb
utility from the lrzsz
package and temporarily pass the communication stream to it until the utility exits, or has the equivalent functionality built-in. The ordinary telnet
command can't do that, and so it's unsuitable for downloading files from BBSes.
C-Kermit (package name ckermit
in Ubuntu) is a communications program that supports both the Telnet network protocol and Xmodem file transfers.
For Xmodem and Ymodem file transfers, you typically have to first give the BBS a command to prepare for the file transfer, and then another command to your local communications program to actually transfer the file (before the BBS's file transfer function times out). The Zmodem protocol includes a feature that allows communications programs that support it to auto-detect the beginning of a Zmodem file transfer, and so it would be easier to use.
Also note that the package that contains the stand-alone Xmodem/Ymodem/Zmodem tools is not "Irzsz" but lrzsz
(lower-case L instead of upper-case I).
This old list of Linux telnet clients for BBS access might be useful to you.
apt-get
(everything between the command and the next shell prompt). While doing so, can you also check whether you copy/pasted the command itself correctly? – nohillside May 19 '20 at 07:54I
). A package search yields nothing. So I'm afraid you need to give more context. – 0xC0000022L May 19 '20 at 07:55apt-get install
would attempt to locate the package whose name you gave asIrzsz
in one of the package repositories registered under/etc/apt/sources.list{,.d}
and fail if no such package exists. Unless you have other package sources than are available by default, this will fail. Obviously. But the whole "downloading" business you mention makes only sense insofar that the package would have to be downloaded. – 0xC0000022L May 19 '20 at 07:59apt-get
, your comments indicate problems with something else. Please edit your question to describe the actual problem you are facing. Also, ifxmodem
/ymodem
support debug options (check the manpage) make sure to run them with debugging enabled to get more details. – nohillside May 19 '20 at 08:39sudo apt-get install - y Irzsz
is totally irrelevant for your question. How are you calling xmodem/ymodem, what is the result, what do the log file and the debug output say? – nohillside May 19 '20 at 08:52