先决条件–传输层的责任
1. SSH文件传输协议(SFTP):
它是基于SSH构建的协议,用于以安全方式有效地传输文件。使用此协议,它可以轻松地通过Internet连接安全地迁移大量数据。它利用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. |