转自 https://www.geeksforgeeks.org/difference-between-ftp-and-tftp/
FTP:
FTP stands for File Transfer Protocol. This type of protocol is used to transfer or copies the file from one host to another host. But there may be some problems like different file name and different file directory while sending and receiving file in different hosts or systems. And in FTP, secure channel is not provided to transfer the files between the hosts or systems. FTP works on two ports: 20 and 21 One for data and another is for connection control.
TFTP:
TFTP stands for Trivial File Transfer Protocol. TFTP is used to transfer a file either from client to server or from server to client without the need of FTP feature. Software of TFTP is smaller than FTP. TFTP works on 69 Port number and its service is provided by UDP.
Now, we shall see the difference between FTP and TFTP:
S.NO | FTP | TFTP |
---|---|---|
1. | FTP stands for File Transfer Protocol. | TFTP stands for Trivial File Transfer Protocol. |
2. | The software of FTP is larger than TFTP. | While software of TFTP is smaller than FTP. |
3. | FTP works on two ports: 20 and 21. | While TFTP works on 69 Port number. |
4. | FTP services are provided by TCP. | While TFTP services are provided by UDP. |
5. | The complexity of FTP is higher than TFTP. | While the complexity of TFTP is less than FTP complexity. |
6. | There are many commands or messages in FTP. | There are only 5 messages in TFTP. |
7. | FTP need authentication for communication. | While TFTP does not need authentication for communication. |
8. | FTP is generally suited for uploading and downloading of files by remote users. | While TFTP is mainly used for transmission of configurations to and from network devices. |