TFTP, Trivial File Transfer Protocol

Description Glossary RFCs Publications Obsolete RFCs

Description:

Protocol suite: TCP/IP.
Type:Application layer file transfer protocol.
Ports: 69 (UDP) server; 1758 (UDP) multicast.
URI:tftp:.
SNMP MIBs:
Working groups: tftpexts, TFTP Extensions.

Files can be read from or written to the TFTP server.


MAC header IP header UDP header TFTP header Data :::

TFTP header:

0001020304050607 0809101112131415
Opcode
Data :::

Opcode. 16 bits, unsigned.
Specifies the format of the TFTP message.

OpcodeDescriptionReferences
1RRQ. Read request. RFC 1350, RFC 2090
2WRQ. Write request. RFC 1350
3DATA. Read or write the next block of data. RFC 1350
4ACK. Acknowledgment. RFC 1350
5ERROR. Error message. RFC 1350
6OACK. Option acknowledgment. RFC 2347

Error codes:

ErrorDescription
0No error.
1File not found.
2Access violation.
3Disk full or allocation exceeded.
4Illegal TFTP operation.
5Unknown transfer ID.
6File already exists.
7No such user.
8Terminate transfer due to option negotiation.

Glossary:


RFCs:

[IEN 133] The TFTP Protocol.

[RFC 906] Bootstrap Loading using TFTP.

[RFC 1123] Requirements for Internet Hosts -- Application and Support.

[RFC 1350] THE TFTP PROTOCOL (REVISION 2).

[RFC 1785] TFTP Option Negotiation Analysis.

[RFC 2090] TFTP Multicast Option.

[RFC 2347] TFTP Option Extension.

[RFC 2348] TFTP Blocksize Option.

[RFC 2349] TFTP Timeout Interval and Transfer Size Options.

[RFC 3617] Uniform Resource Identifier (URI) Scheme and Applicability Statement for the Trivial File Transfer Protocol (TFTP).


Obsolete RFCs:

[RFC 783] THE TFTP PROTOCOL (REVISION 2).

[RFC 1782] TFTP Option Extension.

[RFC 1783] TFTP Blocksize Option.

[RFC 1784] TFTP Timeout Interval and Transfer Size Options.


Description Glossary RFCs Publications Obsolete RFCs