ftp文件传输协议_文件传输协议| FTP | 第2部分

ftp文件传输协议

基于Web的FTP客户端 (Web based FTP Client)

A web based FTP client is a FTP client that is connected via the Internet browser without needing the help of any another application for the connection. The end user accesses an internet server (http) which lists the actual contents associated with the ftp server. The end user hooks up via HTTP to some web server and that web server hooks up by means of the ftp application to the targeted ftp server. The web server operates just as one mid-level by simply transferring details from the ftp server on the normal ports 20 as well as 21 to port 80.

基于Web的FTP客户端是通过Internet浏览器连接的FTP客户端,不需要任何其他应用程序的帮助即可进行连接。 最终用户访问Internet服务器(http),该服务器列出与ftp服务器关联的实际内容。 最终用户通过HTTP连接到某个Web服务器,并且该Web服务器通过ftp应用程序连接到目标ftp服务器。 通过简单地将ftp服务器上正常端口20和21上的详细信息传输到端口80,Web服务器就可以作为中级服务器工作。

Often times we may not have a laptop while on a journey and then we may desire to carry out some urgent activities on the internet at a public computer which is connected to the internet, or from a friend’s house, or while at the work, or from the school, and so on. The particular issue here is all these publicly accessible machines can restrict us to have the capability to install a much-needed software program or an FTP application so that we can do our work efficiently. Many other times, the set up on these public computers may not use a standalone FTP program due to various other reasons like the computer uses proxy connections, or the firewall present on that PC may not allow a standalone FTP application to be used, etc. In such cases, having access to a good net based FTP client software can help us access the remote FTP server as though we were typically working with any other kind of Internet browsing. By having a Web-based FTP client we can create, copy, rename as well as erase data files along with directories as easily as if we are using a stand-alone FTP software.

通常,我们可能在旅途中没有笔记本电脑,然后我们可能希望在互联网上使用连接到互联网的公共计算机或朋友家中或在工作时进行一些紧急活动,或者从学校等等。 这里的特殊问题是所有这些可公开访问的计算机都可能限制我们具有安装急需的软件程序或FTP应用程序的能力,从而使我们可以高效地完成工作。 在许多其他情况下,这些公共计算机上的设置可能由于各种其他原因而未使用独立的FTP程序,例如计算机使用代理连接,或者该PC上存在的防火墙可能不允许使用独立的FTP应用程序等。在这种情况下,访问良好的基于​​网络的FTP客户端软件可以帮助我们访问远程FTP服务器,就像我们通常使用任何其他类型的Internet浏览一样。 通过使用基于Web的FTP客户端,我们可以像创建独立的FTP软件一样轻松地创建,复制,重命名以及擦除数据文件和目录。

访客访问 (Guest Access)

Unrestricted access to the remote web server which offers user accounts will involve security and safety concerns, and that has led to using a third variety referred to as FTP Access Guest account. The concept of this particular process can be as follows: This particular access enables just about every end user to hook up to the web server by making use of your login as well as password, however it still prevents having access to the different parts of the file system on the server. It can allow you to connect to the web server in a similar manner to using the FTP anonymous access, but it will enable you to access with far more privileges.

对提供用户帐户的远程Web服务器的无限制访问将涉及安全性和安全问题,因此导致使用了称为FTP Access Guest帐户的第三个变种。 此特定过程的概念可以如下:此特定访问使几乎每个最终用户都可以通过使用您的登录名和密码来连接到Web服务器,但是仍然阻止访问服务器的不同部分。服务器上的文件系统。 它可以让您以与使用FTP匿名访问类似的方式连接到Web服务器,但是它将使您能够以更多的特权进行访问。

FTP客户端连接的不同模式 (Different Modes of FTP Client Connection)

File transfer protocol facilitates 2 methods of client connection. These methods or  modes are classified as active or Standard mode, or PORT mode, for the reason that the client communicates using PORT commands or instructions to the server to establish connection; as well as Passive or PASV mode, mainly because in this instance it uses the PASV command. Using the Active mode and Passive mode, the client ensures an internet connection to the server by making use of port 21.

文件传输协议促进了两种客户端连接方法。 由于客户端使用PORT命令或指令与服务器进行通信以建立连接,因此将这些方法或模式分为活动模式,标准模式或PORT模式。 以及被动或PASV模式,主要是因为在这种情况下,它使用PASV命令。 客户端使用主动模式和被动模式,可通过使用端口21确保与服务器的Internet连接。

主动模式 (Active Mode)

In Active mode, the actual server usually generates the data channel on the port 20, while client-side data channel is assigned to any randomly selected port with greater than 1024. To achieve this, the client transmits a PORT command towards the server for the purpose of creating the control channel showing that port number, in order that the server may start a data connection where information is transmitted using the particular port.

在活动模式下,实际的服务器通常在端口20上生成数据通道,而客户端数据通道则分配给任何大于1024的随机选择的端口。为实现此目的,客户端向服务器发送PORT命令以用于创建显示该端口号的控制通道的目的是为了使服务器可以启动数据连接,在该数据连接中使用特定端口传输信息。

It has a critical security issue, in which the client device should be ready to acknowledge any incoming connections on a port higher than 1024. The reality is, the Firewall software can also be associated in enabling the connection for security purpose. In order to resolve this concern, the Passive mode has been introduced.

它有一个关键的安全问题,即客户端设备应准备好确认高于1024的端口上的任何传入连接。实际上,防火墙软件也可以关联在一起,以实现安全目的。 为了解决此问题,引入了被动模式。

被动模式 (Passive Mode)

In the event the client transmits a PASV command on the control channel, the particular FTP server informs the control channel of the that needs to be connected. The client triggers a link through the next port to port control to the server port. Prior to every fresh transfer, through the active mode, the client will have to send back a control command, plus the server will obtain the data connection with a fresh random port or use the port 20. In the FTP protocol, you can find 5 types of transfer for ASCII and binary methods of data transmission.

如果客户端在控制通道上发送PASV命令,则特定的FTP服务器会将需要连接的FTP服务器通知控制通道。 客户端触发通过下一个端口的链接,以进行到服务器端口的端口控制。 在每次进行新的传输之前,通过活动模式,客户端将必须发送回控制命令,加上服务器将使用新的随机端口或使用端口20获得数据连接。在FTP协议中,您可以找到5 ASCII和二进制数据传输方式的传输类型。

不同种类的FTP文件传输 (Different kinds of FTP file transfers)

We will need to understand how we can transfer data on the network. Therefore, whenever you use the FTP software, you should make sure to work with one of these instructions:

我们将需要了解如何在网络上传输数据。 因此,无论何时使用FTP软件,都应确保按照以下说明之一进行操作:

* Ascii

* Ascii

Ascii method is Ideal for moving documents that contains purely printable characters (only the ASCII formatted data files, definitely not the type of files that are resulting from a word processor), including HTML web pages, although not having the graphics included within those documents.

Ascii方法非常适合移动包含纯可打印字符(仅ASCII格式的数据文件,绝对不是由文字处理程序生成的文件类型)的文档,包括HTML网页,尽管这些文档中没有图形。

* Binary

*二进制

This particular type must be used while working with compressed documents, executables, graphics, audio files, etc.

在处理压缩文档,可执行文件,图形,音频文件等时,必须使用此特定类型。

Instances of how you can pass a few file types based on the length:

如何根据长度传递几种文件类型的实例:

File Type Extension Transfer ARC (compressed) binary doc (document) binary hqx (compressed) ascii html (web page) ascii pit (compressed) binary ps (Postscript) ascii shar (compressed) binary Sit (compressed) binary tar (packaged) binary txt (text) ascii uu (compressed) binary Z (compressed) binary ZIP (compressed) binary ZOO (compressed) binary

文件类型扩展名传输ARC(压缩)二进制doc(文档)二进制hqx(压缩)ascii html(网页)ascii坑(压缩)二进制ps(Postscript)ascii shar(压缩)二进制Sit(压缩)二进制tar(打包)二进制txt(文本)ascii uu(压缩)二进制Z(压缩)二进制ZIP(压缩)二进制ZOO(压缩)二进制

文件交换协议 (File eXchange Protocol)

File eXchange Protocol (FXP) is usually a data transfer process, in which they are able to transfer data files from an FTP server to a different server. The traditional connection includes a solitary FTP server as well as a single client. All data exchange is carried out involving the two. Throughout a session of FXP, however, a common client preserves connections with the 2 associated servers, operating either of these two servers for connecting to each other in order to begin a data transfer. This process enables a client to narrow-band data among the two servers, and a broadband not having the delay related to traditional FTP transmission. During the process, the client will be able to gain access to the resources on both the servers.

文件交换协议(FXP)通常是一个数据传输过程,在该过程中,他们可以将数据文件从FTP服务器传输到其他服务器。 传统连接包括一个单独的FTP服务器以及一个客户端。 所有数据交换都涉及到两者。 但是,在整个FXP会话中,一个公共客户端会保留与2个关联服务器的连接,操作这两个服务器中的任何一个以相互连接以便开始数据传输。 此过程使客户端可以在两个服务器之间窄带数据,并且宽带不具有与传统FTP传输相关的延迟。 在此过程中,客户端将能够访问两台服务器上的资源。

Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.

研究:来自维基百科,免费的百科全书。 该文本可在“ 知识共享”下找到

翻译自: https://www.eukhost.com/blog/webhosting/file-transfer-protocol-ftp-part-2-2/

ftp文件传输协议

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值