FTP vs TFTP

Major differences between FTP(File Transfer Protocol) & TFTP(Trivial File Transfer Protocol) Application layer protocols for file transfer:

FTP TFTP
General-purpose and hence, a more complex protocol Special-purpose; much simpler
Needs more memory due to its complexity Needs very small memory
Interactive Unidirectional
Greater overhead & reliable control needed. Less overhead and no control needed.
Due to above, it depends on TCP transport layer protocol Due to above, it depends on UDP transport layer protocol
Uses TCP port #20 as data port & port #21 as the connection port Uses UDP port #69
Used over the WWW Used only on local networks due to lack of security