text stringlengths 0 99.6k |
|---|
If the receiver detects an illegal or badly formed command, the |
receiver immediately responds with a ZCOMPL header with an error |
code in ZP0...ZP3. |
If ZF0 contained ZZZZCCCCAAAACCCCKKKK1111,,,, the receiver immediately responds with a |
ZCOMPL header with 0 status. |
Otherwise, the receiver responds with a ZCOMPL header when the |
operation is completed. The exit status of the completed command is |
stored in ZP0...ZP3. A 0 exit status implies nominal completion of |
the command. |
If the command causes a file to be transmitted, the command sender |
will see a ZRQINIT frame from the other computer attempting to send |
data. |
The sender examines ZF0 of the received ZRQINIT header to verify it |
is not an echo of its own ZRQINIT header. It is illegal for the |
sending program to command the receiving program to send a command. |
If the receiver program does not implement command downloading, it |
may display the command to the standard error output, then return a |
ZCOMPL header. |
12. SSSSEEEESSSSSSSSIIIIOOOONNNN TTTTRRRRAAAANNNNSSSSAAAACCCCTTTTIIIIOOOONNNN EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS |
12.1 AAAA ssssiiiimmmmpppplllleeee ffffiiiilllleeee ttttrrrraaaannnnssssffffeeeerrrr |
A simple transaction, one file, no errors, no CHALLENGE, overlapped |
I/O: |
Sender Receiver |
"rz\r" |
ZRQINIT(0) |
ZRINIT |
ZFILE |
ZRPOS |
ZDATA data ... |
ZEOF |
ZRINIT |
ZFIN |
ZFIN |
OO |
Chapter 12 Rev 10-27-87 Typeset 10-27-87 30 |
Chapter 12 ZMODEM Protocol 31 |
12.2 CCCChhhhaaaalllllllleeeennnnggggeeee aaaannnndddd CCCCoooommmmmmmmaaaannnndddd DDDDoooowwwwnnnnllllooooaaaadddd |
Sender Receiver |
"rz\r" |
ZRQINIT(ZCOMMAND) |
ZCHALLENGE(random-number) |
ZACK(same-number) |
ZRINIT |
ZCOMMAND, ZDATA |
(Performs Command) |
ZCOMPL |
ZFIN |
ZFIN |
OO |
13. ZZZZFFFFIIIILLLLEEEE FFFFRRRRAAAAMMMMEEEE FFFFIIIILLLLEEEE IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN |
ZMODEM sends the same file information with the ZZZZFFFFIIIILLLLEEEE frame data |
that YMODEM Batch sends in its block 0. NNNN....BBBB....:::: TTTThhhheeee ppppaaaatttthhhhnnnnaaaammmmeeee ((((ffffiiiilllleeee |
nnnnaaaammmmeeee)))) ffffiiiieeeelllldddd iiiissss mmmmaaaannnnddddaaaattttoooorrrryyyy.... |
PPPPaaaatttthhhhnnnnaaaammmmeeee The pathname (conventionally, the file name) is sent as a |
null terminated ASCII string. This is the filename format used |
by the handle oriented MSDOS(TM) functions and C library fopen |
functions. An assembly language example follows: |
DB 'foo.bar',0 |
No spaces are included in the pathname. Normally only the file |
name stem (no directory prefix) is transmitted unless the |
sender has selected YAM's ffff option to send the ffffuuuullllllll absolute or |
relative pathname. The source drive designator (A:, B:, etc.) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.