What is tftp server

Last updated: April 1, 2026

Quick Answer: TFTP (Trivial File Transfer Protocol) is a simple, lightweight file transfer protocol that uses UDP port 69 to transfer files between computers. It's commonly used for network booting and transferring configuration files without requiring user authentication.

Key Facts

Overview

TFTP (Trivial File Transfer Protocol) is a simplified network file transfer protocol designed to transfer files between computers on a network with minimal overhead. It was created in 1981 and standardized in RFC 1350. Unlike FTP (File Transfer Protocol), TFTP is much lighter and simpler, requiring fewer network resources and no complex authentication mechanisms.

How TFTP Works

TFTP operates using the UDP (User Datagram Protocol) on port 69, making it faster and less resource-intensive than FTP, which uses TCP. The protocol follows a simple client-server model where the client requests a file from the server, and the server responds with the requested data or an error message. Each data packet is acknowledged before the next one is sent, ensuring reliable delivery despite using an unreliable transport protocol.

Common Uses

TFTP is primarily used in several key scenarios:

Advantages and Limitations

TFTP's main advantage is its simplicity and speed. It requires minimal processing power and network bandwidth, making it ideal for embedded systems and initial network boot scenarios. However, TFTP has significant limitations: it offers no user authentication, supports no directory listing, lacks encryption, and is unsuitable for transferring large files reliably over unstable connections. These limitations make it appropriate only for controlled network environments where security is not a primary concern.

Security Considerations

Because TFTP transmits files without authentication or encryption, it should only be used within trusted, internal networks. Modern implementations often restrict TFTP access to specific directories or devices to minimize security risks. Many organizations have replaced TFTP with more secure protocols like SFTP or HTTP for file transfers, though TFTP remains essential for PXE booting and device management in local network environments.

Related Questions

What is the difference between TFTP and FTP?

FTP uses TCP and requires authentication, supports directory listings, and is suitable for general file transfers. TFTP uses UDP, requires no authentication, lacks directory support, and is designed for simple file transfers in controlled network environments like PXE booting.

How do I set up a TFTP server on Linux?

Install a TFTP server package like tftpd-hpa or atftpd, configure the directory where files will be stored, set appropriate permissions, and start the service. Most TFTP servers run on UDP port 69 and require root privileges to start.

What is PXE booting?

PXE (Preboot Execution Environment) is a network booting standard that allows computers to boot and load an operating system over the network using TFTP and DHCP. It's commonly used in enterprise environments for deploying operating systems to multiple computers simultaneously.

Sources

  1. Wikipedia - Trivial File Transfer Protocol CC-BY-SA-4.0
  2. RFC 1350 - TFTP Specification Public Domain