How can I receive an xmodem file using command line?
1
vote
2
answers
10401
views
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:
* https://unix.stackexchange.com/questions/111749/how-to-send-a-file-using-xmodem-protocol-from-the-command-line
* https://unix.stackexchange.com/questions/239370/send-a-file-over-xmodem-with-payload-size-64
* https://unix.stackexchange.com/questions/56614/send-file-by-xmodem-or-kermit-protocol-with-gnu-screen
Asked by not2qubit
(1788 rep)
Jul 12, 2019, 09:26 AM
Last activity: Mar 11, 2022, 09:42 PM
Last activity: Mar 11, 2022, 09:42 PM