text
stringlengths
0
99.6k
the next pathname.
Transmission of a null pathname terminates batch file transmission.
Note that transmission of no files is not necessarily an error. This is
possible if none of the files requested of the sender could be opened for
reading.
__________
4. If, perchance, this information extends beyond 128 bytes (possible
with Unix 4.2 BSD extended file names), the block should be sent as a
1k block as described above.
Chapter 5 XMODEM Protocol Enhancements
X/YMODEM Protocol Reference 10-27-87 15
The YMODEM receiver requests CRC-16 by default.
The Unix programs sz(1) and rz(1) included in the source code file
RZSZ.ZOO should answer other questions about YMODEM batch protocol.
Figure 3. YMODEM Batch Transmission Session
SENDER RECEIVER
"sb foo.*<CR>"
"sending in batch mode etc."
C (command:rb)
SOH 00 FF foo.c NUL[123] CRC CRC
ACK
C
SOH 01 FE Data[128] CRC CRC
ACK
SOH 03 FC Data[128] CRC CRC
ACK
SOH 04 FB Data[100] CPMEOF[28] CRC CRC
ACK
EOT
NAK
EOT
ACK
C
SOH 00 FF NUL[128] CRC CRC
ACK
Figure 4. YMODEM Batch Transmission Session-1k Blocks
SENDER RECEIVER
"sb -k foo.*<CR>"
"sending in batch mode etc."
C (command:rb)
SOH 00 FF foo.c NUL[123] CRC CRC
ACK
C
STX 02 FD Data[1024] CRC CRC
ACK
SOH 03 FC Data[128] CRC CRC
ACK
SOH 04 FB Data[100] CPMEOF[28] CRC CRC
ACK
EOT
NAK
EOT
ACK
C
SOH 00 FF NUL[128] CRC CRC
ACK
Chapter 5 XMODEM Protocol Enhancements
X/YMODEM Protocol Reference 10-27-87 16
Figure 5. YMODEM Filename block transmitted by sz
-rw-r--r-- 6347 Jun 17 1984 20:34 bbcsched.txt