Search documentation of tftp

# View Source Overview

Trivial File Transfer Protocol (TFTP) is a very simple protocol used to transfer files over the transport datagram protocol UDP.

On the client side, function read_file/3 and write_file/3 spawn a temporary client process establishing contact with a TFTP daemon and perform the file transfer.

`tftp` uses a callback module to handle the file transfer. Two such callback modules are provided, `tftp_binary` and `tftp_file`. See read_file/3 and write_file/3 for details. You can also implement your own callback modules, see callbacks.

# Security Considerations

As stated in (RFC 1350) be aware that "Since TFTP includes no login or access control mechanisms, care must be taken in the rights granted to a TFTP server process so as not to violate the security of the server hosts file system. TFTP is often installed with controls such that only files that have public read access are available via TFTP and writing files via TFTP is disallowed."

← Previous Page TFTP Release Notes
Next Page → Examples