Trivial File Transfer Protocol
From Wikipedia, the free encyclopedia
|
Trivial File Transfer Protocol (TFTP) is a very simple file transfer protocol, with the functionality of a very basic form of FTP; it was first defined in 1980. Since it is so simple, it is easy to implement in a very small amount of memory — an important consideration at that time. TFTP was therefore useful for booting computers such as routers which did not have any data storage devices. It is still used to transfer small files between hosts on a network, such as when a remote X Window System terminal or any other thin client boots from a network host or server. TFTP is based in part on the earlier protocol EFTP, which was part of the PUP protocol suite. In the early days of work on the TCP/IP protocol suite, TFTP was often the first protocol implemented on a new host type, because it was so simple. The original versions of TFTP, prior to RFC 1350, displayed a particularly bad protocol flaw, which was named Sorcerer's Apprentice Syndrome (after the Sorcerer's Apprentice segment of Fantasia) when it was discovered. TFTP appeared first as part of 4.3 BSD. It is included with Mac OS X through at least version 10.5. Recently, TFTP has been used by computer worms, such as Blaster, as a method of spreading and infecting new hosts.
Technical informationImage:Tftp-wrq.svg
(W1) Host A requests to write
Image:Tftp-ack0.svg
(W2) Server S acknowledges request
Image:Tftp-dat1-up.svg
(W3) Host A sends numbered data packets
Image:Tftp-rrq.svg
(R1) Host A requests to read
Image:Tftp-dat1-dwn.svg
(R2) Server S sends data packet 1
Image:Tftp-ack1.svg
(R3) Host A acknowledges data packet 1
Some details of TFTP
Details of a TFTP session
Example command in TFTP in WindowsTransfers files to and from a remote computer running the TFTP service.
TFTP [-i] host [GET | PUT] source [destination]
-i Specifies binary image transfer mode (also called
octet). In binary image mode the file is moved
literally, byte by byte. Use this mode when
transferring binary files.
host Specifies the local or remote host.
GET Transfers the file destination on the remote host to
the file source on the local host.
PUT Transfers the file source on the local host to
the file destination on the remote host.
source Specifies the file to transfer.
destination Specifies where to transfer the file.
References
See alsoExternal linksca:Protocol trivial de transferència de fitxers cs:Trivial File Transfer Protocol de:Trivial File Transfer Protocol el:TFTP es:TFTP eu:TFTP fr:TFTP ko:TFTP it:Trivial File Transfer Protocol nl:Trivial File Transfer Protocol ja:Trivial File Transfer Protocol pl:TFTP pt:Trivial File Transfer Protocol ru:TFTP sv:Trivial File Transfer Protocol tr:TFTP |


