活动ftp(active ftp)和被动ftp(passive ftp)的区别

FTP(文件传输协议)是一组标准的网络规则(协议),涉及两台主机之间通过基于TCP/IP的网络(使用传输控制协议/Internet协议将字节流从一台计算机传送到另一台计算机的网络)上的文件传输。FTP基于客户机/服务器原理,属于OSI模型(开放系统互连模型)的应用层。...

主动FTP与被动FTP

FTP(文件传输协议)是一组标准的网络规则(协议),涉及两台主机之间通过基于TCP/IP的网络(使用传输控制协议/Internet协议将字节流从一台计算机传送到另一台计算机的网络)上的文件传输。FTP基于客户机/服务器原理,属于OSI模型(开放系统互连模型)的应用层。

通常,存储要传输的文件的FTP服务器使用两个端口进行传输,一个用于命令,另一个用于发送和接收数据。来自客户端计算机的请求在服务器的端口21接收,该端口专门用于发送命令;因此,它被称为命令端口。一旦接收到传入请求,客户端计算机请求或上载的数据将通过称为数据端口的单独端口进行传输。此时,根据FTP连接的主动或被动模式,用于数据传输的端口号会有所不同。

What is Active FTP?

Active FTP connection mode is where Command connection is initiated by the Client, and the Data connection is initiated by the Server. And as the server actively establishes the data connection with the Client, this mode is referred to as Active. The Client opens up a port higher than 1024, and through it connects to the port 21 or the command port of the Server. Then the Server opens up its port 20 and establishes a data connection to a port higher than 1024 of the Client. In this mode, Client must set its firewall settings to accept all the incoming connecti*** that are received at the opened port.

What is Passive FTP?

In the Passive FTP connection mode, the server acts entirely passively as the Command connection and the Data connection are both initiated and established by the Client. In this mode, Server listens for incoming requests through its port 21 (command port), and when a request is received for a data connection from the Client (using a high port), Server randomly opens up one of its High ports. Then Client initiates a data connection between the opened port of the Server and its own randomly selected port higher than 1024. In this mode, the Client does not have to change its firewall settings, as it only requires outgoing connecti*** and the firewall do not block outgoing connecti***. However, the Server administrators must make sure that the Server allows incoming connecti*** at all its opened ports.

What is the difference between Active FTP and Passive FTP?

The difference between the Active FTP and Passive FTP is based on who initiates the Data connection between the Server and the Client. If data connection is initiated by the Server, the FTP connection is active, and if the Client initiates the Data connection, FTP connection is passive.

Depending on the Active or Passive mode of the connection, port used for Data connection changes. In an Active FTP, data connection is established between port 20 of the Server and High Port of the Client. On the other hand, in Passive FTP, data connection is established between a High port of the Server and a High port of the Client.

  • 发表于 2020-11-04 09:09
  • 阅读 ( 237 )
  • 分类:IT

你可能感兴趣的文章

windows的5个最佳免费ftp客户端

...要原因是它的易用性和广泛的工具集。它支持带宽控制、被动和主动模式、凭证和数据的身份验证以及FTP、SFTP和FTPS协议。还有其他方便的工具,例如远程文件搜索(具有灵活的过滤器和模式匹配)和为频繁访问的文件和位置添...

  • 发布于 2021-03-25 21:12
  • 阅读 ( 242 )

什么是ftp?为什么需要ftp服务器?

...,它们又是不同的东西。SFTP和FTP以及FTPS之间有两个主要区别。 ...

  • 发布于 2021-03-30 13:16
  • 阅读 ( 358 )

如何通过ftp用winscp自动备份web服务器文件

...将丢失的文件下载到计算机的何处,然后创建一个记录FTP活动的日志文件。继续,打开你电脑上的记事本。将以下脚本模板复制到记事本中: option batch on option confirm off open [email protected] cd backups option transfer binary get /testremot...

  • 发布于 2021-04-12 16:30
  • 阅读 ( 487 )

文件传输协议(ftp)

什么是文件传输协议(ftp)(file transfer protocol (ftp))? 文件传输协议(FTP)是计算机通过internet将文件从一个系统传输到另一个系统时遵循的一组规则。它可以被企业用来将文件从一个计算机系统传输到另一个计算机系统,或者网...

  • 发布于 2021-06-05 12:03
  • 阅读 ( 152 )

资金转移定价(ftp)和sftp公司(sftp)的区别

FTP和SFTP的主要区别在于FTP不提供在多个设备之间传输文件的安全通道,而SFTP提供在多个设备之间传输文件的安全通道。 计算机网络是路由器、交换机和计算机等设备的集合,用于交换数据和资源。协议是一组定义的规则,网络...

  • 发布于 2021-07-02 01:03
  • 阅读 ( 268 )

电信网(telnet)和资金转移定价(ftp)的区别

...P(文件传输协议)是IP协议的两种类型。telnet和FTP的主要区别在于,telnet允许客户端用户登录到远程服务器以访问其资源,而FTP是一种文件传输协议,不提供传输文件的安全通道。 Telnet提供了一个由ISO标准化的虚拟终端协议。...

  • 发布于 2021-07-08 15:12
  • 阅读 ( 299 )

资金转移定价(ftp)和sftp公司(sftp)的区别

...数据和信息。FTP和SFTP是文件传输协议。 FTP和SFTP的主要区别在于安全性。FTP是第一种文件传输协议,安全性较低,SFTP是一种安全的文件传输协议,比FTP更安全。FTP或文件传输协议,用于将文件从一台计算机传输到另一台计算机...

  • 发布于 2021-07-08 15:13
  • 阅读 ( 426 )

资金转移定价(ftp)和电信网(telnet)的区别

...源。尽管FTP和TELNET都是著名的IP协议,但它们之间的根本区别在于各自提供的功能。资金转移定价(ftp) vs. 电信网(telnet)FTP和TELNET的区别在于,FTP用于将文件从一台计算机传输到另一台计算机,而TELNET用于通过其远程登录功能访问...

  • 发布于 2021-07-10 08:02
  • 阅读 ( 170 )

ndm公司(ndm)和资金转移定价(ftp)的区别

...用法感到困惑。ndm公司(ndm) vs. 资金转移定价(ftp)NDM和FTP的区别在于NDM可以用于从大型机或中端计算机传输文件。但是,FTP是在计算机网络系统中帮助服务器和客户机之间传输文件的协议。比较参数NDM公司文件传输协议完整形式NDM...

  • 发布于 2021-07-11 00:45
  • 阅读 ( 278 )

资金转移定价(ftp)和宋承宪(ssh)的区别

...输系统提供的。资金转移定价(ftp) vs. 宋承宪(ssh)FTP和SSH的区别在于前者是传输协议,而后者是网络协议。这两种方法都广泛应用于数据文件的传输。第一种提供的数据安全性低于SSH。FTP代表文件传输协议,SSH是secureshell的缩写。F...

  • 发布于 2021-07-11 22:03
  • 阅读 ( 184 )
xjnz1359
xjnz1359

0 篇文章