TFTP
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.
Server
There are several TFTP server implementations, some are listed below and iputils also includes a version of tftp.
got more than one socket
, because only one may listen to the default TFTP port 69
.tftp-hpa
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.
atftp
Install atftp and then start atftpd.service
.
To modify service parameters edit /etc/conf.d/atftpd
.
dnsmasq
See dnsmasq#TFTP server.
Client
tftp-hpa
Install tftp-hpa and then tftp your day away!
$ tftp
curl
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.