Trivial File Transfer Protocol (TFTP)
TFTP is a simplified software utility that can be used to transport files over an IP based network. Its operations are much easier compared to the File Transfer Protocol though might have a reduced performance. It is more efficient in situations where there is no need to have a directory visibility or the user authentication. It tends to rely much on the UDP which is faster in its operations compared to the TCP.
Transfers usually commence with a request to write or read a file at the same time serving to initiate a connection. The connection is opened after the request is granted. A termination of the transfer is executed in situations where the data packet is less than 512 bytes.
In cases of lost packets along the network, then the recipient to whom the message was intended will disconnect. When a connection is terminated, the resultant cause is usually the large number of errors during the termination.
The error packet is not often approved and resent and in most cases it is usually discarded. After the disconnection, the receiver cannot get the information. Timeouts are useful in detecting the termination in transmission signaling the loss of an error packet.
The errors can occur due to various reasons. There may result a condition where the access to a necessary resource has been lost, or when the request cannot be satisfied. It can also result from a situation where a delay cannot be interpreted by the user receiving a packet.
TFTP recognizes the situation where the receiving packet source port is inappropriate. In this situations, the error packet is usually channeled to the host in which the message originated.
TFTP is known to have a variety of restrictions for the implementation process to be simplified. It was designed to work in association with the User Datagram Protocol.
This means that the packets will be comprised of an internet header, a TFTP header and a Datagram header. The header may be useful in in allowing the packets to have a safe passage across the local transport medium. TFTP does not have the mandate of specifying any values that are indicated on the internet header
It uses the Datagram header port fields to and the size of the packets are reflected by the length field. TFTP uses a port number 69 and offers simplicity in transferring files though may be less capable compared to the File Transfer Protocol.