📜  FTP和TFTP的区别

📅  最后修改于: 2021-09-28 10:08:22             🧑  作者: Mango

FTP:
FTP 代表文件传输协议。这种类型的协议用于将文件从一台主机传输或复制到另一台主机。但是在不同的主机或系统上收发文件时,可能会出现文件名不同、文件目录不同等问题。而在FTP中,没有提供安全通道来在主机或系统之间传输文件。 FTP 在两个端口上工作:20 和 21 一个用于数据,另一个用于连接控制。

TFTP:
TFTP 代表普通文件传输协议。 TFTP 用于在不需要 FTP 功能的情况下将文件从客户端传输到服务器或从服务器传输到客户端。 TFTP的软件比FTP小。 TFTP 工作在 69 端口号上,其服务由 UDP 提供。

现在,我们将看到 FTP 和 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.