From ArchWiki
(Redirected from Tftpd server)
Jump to navigation Jump to search

The Trivial File Transfer Protocol (TFTP) provides a minimalistic means for transferring files. It is generally used as a part of PXE booting or for updating configuration and firmware on devices which have limited memory such as routers, IP phones and printers.


There are several TFTP server implementations, some are listed below and iputils also includes a version of tftp.

Note: Make sure not to start different TFTP implementations at the same time. They will fail with an error got more than one socket, because only one may listen to the default TFTP port 69.


Install tftp-hpa and then start tftpd.service.

To modify service parameters edit /etc/conf.d/tftpd.

tftp-hpa requires absolute paths in your tftp gets. If absolute pathing is not possible for whatever reason, consider using atftp instead.


Install atftp and then start atftpd.service.

To modify service parameters edit /etc/conf.d/atftpd.


Note: dnsmasq does not support file uploads.

See dnsmasq#TFTP server.



Install tftp-hpa and then tftp your day away!

$ tftp


Standard curl has an ability to connect to a TFTP server and upload a file via:

$ curl -T FILE tftp://HOST

Download a file:

$ curl -o DESTINATION tftp://HOST/file

Where file is relative to the TFTP root directory.