.TH TTFTP 6
.SH NAME
ttftp - totally-trivial file transfer protocol
.SH DESCRIPTION
TTFTP is a protocol run over a reliable byte stream transport.
Typically, it is a TCP protocol, normally served on port 17015.
A server, typically a file server, offers it,
primarily for use in bootstrapping.
It should be blocked at your local firewall since it tends to have
unrestricted public access to the server's files.
It would be simpler but for TCP implementations dropping
trailing data of a connection, particularly when client and server
Ethernet interfaces operate at different speeds.
.PP
The client writes the name of a file on the server to read, and a newline.
The server responds by dropping the connection if the file isn't readable.
Otherwise, it sends a
.LR # ,
a decimal byte count of the file contents,
and a newline, followed by chunks, typically of 63KB, of the file.
After receiving each chunk, the clients writes a line to the server
as an acknowledgement.
Eventually the server stops after sending all the chunks of the file.
.SH SEE ALSO
.IR ttftp (1),
.IR ttftpd (1),
.IR ip (3)
