TFTP, Trivial File Transfer Protocol

Description Glossary RFCs Publications Obsolete RFCs

Description:

Protocol suite: TCP/IP.
Protocol type:Application layer file transfer protocol.
Multicast addresses:
Ports: 69 (UDP) server.
1758 (UDP) multicast.
URI:tftp:.
MIME subtype:
SNMP MIBs:
Working groups: tftpexts, TFTP Extensions.
Links:

RFC 1783:

TFTP is a simple, lock-step, file transfer protocol which allows a client to get or put a file onto a remote host. One of its primary uses is the booting of diskless nodes on a Local Area Network. TFTP is used because it is very simple to implement in a small node's limited ROM space. However, the choice of a 512-byte blocksize is not the most efficient for use on a LAN whose MTU may 1500 bytes or greater.


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

TFTP header:

0001020304050607 0809101112131415 1617181920212223 2425262728293031
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:

ErrorDescriptionReferences
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. RFC 2347

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).


Publications:


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