📜  SFTP 和 TFTP 的区别

📅  最后修改于: 2021-09-12 11:14:45             🧑  作者: Mango

先决条件——传输层的职责

1. SSH 文件传输协议(SFTP):
它是一种建立在 SSH 之上的协议,用于以安全的方式有效地传输文件。使用此协议,它可以轻松地通过互联网连接安全地迁移大量数据。它利用 SSH 功能,使信息传输具有更高级别的保护。

2. 普通文件传输协议(TFTP):
它是建立在 UDP/IP 协议之上的协议,它是一个简单的锁步文件传输协议,提供了从客户端到服务器传输文件的路径,反之亦然。通过使用该协议,我们可以将固件映像和网络文件传输到网络设备。

SFTP 和 TFTP 的区别:

S.No

SFTP

TFTP

1. It is short for Secure Shell File Transfer Protocol. It is short for Trivial File Transfer Protocol.
2. It was founded by Tatu Ylönen in 1997. It was first standardized in the year 1981.
3. It provides a secure channel for transferring files between the two endpoints. It provides a path to transfer files from client to server and server to client.
4. It operates on port number 22. It operates on port number 69.
5. It provides encryption and authentication for data transfer It neither provides encryption not authentication.
6. It supports transfer resume method. It supports lockstep method.
7. It uses FTP protocol but in more secure ways. TFTP uses UDP protocol for transferring small single files. 
8. It provides support for IPv6 HTTP protocols. It does not provide any such protocols.