Network Working Group G. Malkin
Request for Comments: 1782 Xylogics, Inc.
Updates: 1350 A. Harkin
Category: Standards Track Hewlett Packard Co.
March 1995
TFTP Option Extension
Malkin & Harkin [Page 1]
RFC 1782 TFTP Option Extension March 1995
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+-->
| opc |filename| 0 | mode | 0 | opt1 | 0 | value1 | 0 | <
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+-->
>-------+---+---~~---+---+
< optN | 0 | valueN | 0 |
>-------+---+---~~---+---+
The "0"s shown in these illustrations and the ones below are all all zero octets, i.e., NULL terminators for the preceeding fields.
Malkin & Harkin [Page 2]
RFC 1782 TFTP Option Extension March 1995
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+
| opc | opt1 | 0 | value1 | 0 | optN | 0 | valueN | 0 |
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+
opc
Malkin & Harkin [Page 3]
RFC 1782 TFTP Option Extension March 1995
OACK - acknowledge of Read Request and the options;
Malkin & Harkin [Page 4]
RFC 1782 TFTP Option Extension March 1995
Examples
client server
-------------------------------------------------------
|1|foofile|0|octet|0|blksize|0|1432|0| --> RRQ
<-- |6|blksize|0|1432|0| OACK
|4|0| --> ACK
<-- |3|1| 1432 octets of data | DATA
|4|1| --> ACK
<-- |3|2| 1432 octets of data | DATA
|4|2| --> ACK
<-- |3|3|<1432 octets of data | DATA
|4|3| --> ACK
Write Request
client server
-------------------------------------------------------
|2|barfile|0|octet|0|blksize|0|2048|0| --> RRQ
<-- |6|blksize|0|2048|0| OACK
|3|1| 2048 octets of data | --> DATA
<-- |4|1| ACK
|3|2| 2048 octets of data | --> DATA
<-- |4|2| ACK
|3|3|<2048 octets of data | --> DATA
<-- |4|3| ACK
Security Considerations
Malkin & Harkin [Page 5]
RFC 1782 TFTP Option Extension March 1995
Authors' Addresses