I'm using Putty or Picocom to talk directly to a Mobile Modem using AT commands, while doing some experiments that require up/downloading some files on the mobile module's EFS partition. The protocol used to do this is Xmodem and it seem that most terminal utilities no longer include/support this. Picocom does as a 3rd party dependence:
Picocom can send and receive files over the serial port
using external programs that implement the respective protocols.
In Linux typical programs for this purpose are:
• rx(1) - receive using the X-MODEM protocol *
• rb(1) - receive using the Y-MODEM protocol
• rz(1) - receive using the Z-MODEM protocol
• sx(1) - send using the X-MODEM protocol *
• sb(1) - send using the Y-MODEM protocol
• sz(1) - send using the Z-MODEM protocol
However, none of these are available for Win/Cygwin and I'm not able to find the sources to compile these. (Where are these hosted these days?)
Q: What would be the easiest way to receive Xmodem data using command line?
(What other simple alternatives are there?)
I have already looked at the following Unix SE questions:
lrzsz
is waiting until timeout. Please write the exact commands you enter and/or describe in detail what you do in your terminal program. – Bodo Jul 12 '19 at 12:55