|
TFTP Message Formats
(Page 3 of 5)
Data Messages
Data blocks are sent using the simplified
format shown in Table 236
and Figure 297.
Table 236: TFTP Data Message Format
Field
Name
|
Size (bytes)
|
Description
|
Opcode
|
2
|
Operation Code:
Specifies the TFTP message type. A value of 3 indicates a Data
message.
|
Block
#
|
2
|
Block
Number: The number of the data block being sent.
|
Data
|
Variable
|
Data: 0 to 512
bytes of data.
|
Figure 297: TFTP Data Message Format

|
Acknowledgment Messages
Acknowledgments have the simplest
format of any TFTP message, as you can see in Table 237
and Figure 298.
Table 237: TFTP Acknowledgment Message Format
Field
Name
|
Size (bytes)
|
Description
|
Opcode
|
2
|
Operation Code:
Specifies the TFTP message type. A value of 4 indicates an Acknowledgment
message.
|
Block
#
|
2
|
Block
Number: The number of the data block being acknowledged; a value
of 0 is used to acknowledge receipt of a write request without options,
or to acknowledge receipt of an option acknowledgment.
|
|