Questions tagged [zmodem]

Zmodem is a file transfer protocol of the BBS era, developed in a project funded by Telenet in order to improve file transfers on their X.25 network. It improved on earlier modem protocols and achieved wide usage.

Zmodem (or ZMODEM) is a file transfer protocol created in 1986. It was developed in a project funded by Telenet (the operators of a pre-Internet packet-switched network) in order to improve file transfers on their X.25 network. In addition to dramatically improved performance compared to older protocols, ZMODEM also offered restartable transfers, auto-start by the sender, an expanded 32-bit CRC, and control character quoting (allowing it to be used on networks that might "eat" control characters). ZMODEM became extremely popular on bulletin board systems in the early 1990s, displacing earlier protocols such as XMODEM and YMODEM.

24 questions
18
votes
3 answers

Understanding the ZMODEM protocol

I need to include basic file-sending and file-receiving routines in my program, and it needs to be through the ZMODEM protocol. The problem is that I'm having trouble understanding the spec. For reference, here is the specification. The spec doesn't…
Jeff
  • 7,504
  • 3
  • 25
  • 34
8
votes
1 answer

Transferring file using zmodem/picocom/minicom noninteractively

We are trying to transfer file using minicom (in host pc) and picocom(in arm based evaluation board) combination. On evaluation board side we have /dev/ttygserial and on host pc side we have /dev/ttyUSB0. Host side minicom setup is as…
ART
  • 1,509
  • 3
  • 29
  • 47
4
votes
2 answers

Help me drive Zmodem over ssh with expect

There's a nifty little tool called zssh that makes it easy to use the lszrz utilities to transfer files using zmodem over an existing ssh connection. It's surprisingly convenient...but it seems like I ought to be able to accomplish the same thing…
larsks
  • 277,717
  • 41
  • 399
  • 399
4
votes
1 answer

lrzsz does not work on mac os x

I followed these steps: brew install lrzsz install iterm2 set triggers But when I type sz xx.tar at the remote machine, it popups a window for choosing the place where to save and then it displays: **B00000000000000 After a long time, it says:…
Jason Peng
  • 408
  • 4
  • 15
4
votes
0 answers

ZMODEM CRC-32 FCS Issues

I found many questions and answers on this topic. But I still stuck with ZModem stuff. I'm stuck with CRC-32 stuff at the end of the frame (FCS). I wanted to know on which part of the ZFile header frame is calculated this checksum? Is the…
Milz
  • 41
  • 3
3
votes
0 answers

Why rz of lrzsz package upload file failed with char disordered

I always upload to remote server use rz of lrzsz package like this rz -bey. But it's failed randomly with character gibberish(fill the screen with unknown character), not every time. And the upload is terminated. I must close the XShell Session and…
Adooo
  • 640
  • 6
  • 22
2
votes
0 answers

Using sz (ZMODEM protocol file transfer) non-interactively

How to use sz command (send files using ZMODEM) non-interactively. I want run a script to transfer a file from unix server to winodws from fixed source directory to fixed destination directory. The sz manual page says With ZMODEM AutoDownload…
user602626
  • 21
  • 4
1
vote
3 answers

How do I use ZModem in Visual Studio Code?

Is it possible to configure vs code to support the ZMODEM protocol? I could use xshell to download files with sz command, but when I try to use sz in vs code, here it returns some random number. (base) [alpha@hpc03 newfile]$ sz…
Jack
  • 1,094
  • 6
  • 16
1
vote
1 answer

ZModem implementation in C# - Problems with bigger files caused by ZPOS

I have a problem with my ZModem implementation when I try to send files with more than 16kb. I traced the communication with WireShark and also compared my data with the one TeraTerm is sending. TeraTerm, for instance, is capable to send every file…
datoml
  • 5,554
  • 4
  • 21
  • 28
1
vote
1 answer

Sending file through serial port using expect and ymodem on Linux?

The ATF (arm trusted firmware, BL1, BL2) command line loop supports ymodem protocol. Under windows, I am using TeraTerm and can use its menu to manually send files to the device, using ymodem protocol, after inputting the command ymodem
bruin
  • 979
  • 1
  • 10
  • 30
1
vote
1 answer

zmodem upload ends up with strange error

I'm currently trying to upload some files via zmodem to a small system with an embedded linux with busybox. While most files takes a long time through the 9600 BAUD connection, there is one file that always fails (cramfs_cmc-pu2_v2.45.img). With…
Sebastian
  • 5,721
  • 3
  • 43
  • 69
0
votes
0 answers

PYTHON: Encountering import error when trying to import YMODEM from xmodem

Hello I'm trying to import YMODEM from xmodem and encountering Import error. But if I import xmodem from XMODEM, I don't see any Import Error. from xmodem import YMODEM ImportError: cannot import name 'YMODEM' from 'xmodem' I would like to transfer…
Nani
  • 1
0
votes
2 answers

With Open not functioning as expected. Not sure if not reading file correctly or not inputting string into command prompt

I'm still new to Python firstly. I am trying to, (whilst using Zmodem in Command Prompt) read a .txt file for information, then, if certain strings are found within the .txt file, send instructions to Zmodem using pyautogui.Keybaord.Keys. I am aware…
Naj
  • 1
  • 2
0
votes
1 answer

File transfer via serial port

I am trying to send a file via serial port. I tried sending picocom commands in a bash script. However the device writes out a menu of options. When it gets to the file transfer step - it writes out 'C' until a file is sent, after which it does the…
Archie
  • 153
  • 9
0
votes
1 answer

Receive Files using teraterm ZMODEM

I'm using teraterm from my windows PC. I have a serial (USB) port conection to a board that is running linux. I have access to the linux terminal throught teraterm. This is the only way to interact with the board. I want to "copy" files from the…
Ivan
  • 1,352
  • 2
  • 13
  • 31
1
2