1 / 7

4 文件传输( FTP )

FTP 是什么 FTP 是 File Transfer Protocol 的英文缩写, 即“文件传输协议”。 文件从一台机器传送到另一台(上载或下载): 上载: Upload Put 下载: Download Get 文件可以是: 文本文件( ASCII ), 二进文件( Binary ), 压缩、非压缩文件。 通常 FTP 用户是需要 注册 的, 但也有匿名的( Anonymous )。. 4 文件传输( FTP ). FTP & Anonymous FTP.

lawson
Download Presentation

4 文件传输( FTP )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FTP是什么 FTP是File Transfer Protocol的英文缩写,即“文件传输协议”。 文件从一台机器传送到另一台(上载或下载): 上载:Upload Put 下载:Download Get 文件可以是: 文本文件(ASCII), 二进文件(Binary), 压缩、非压缩文件。 通常FTP用户是需要注册的, 但也有匿名的(Anonymous)。 4 文件传输(FTP)

  2. FTP & Anonymous FTP ftp ftp.ecust.edu.cn Username: anonymous Password: test@ecust.edu.cn Software Anonymous FTP Server ftp.ecust.edu.cn

  3. FTP工作原理 1、FTP客户程序 命令行形式或GUI形式(cuteftp) 2、FTP服务程序 接收并执行客户程序发过来的命令 3、与其他因特网应用不同之处 FTP传输文件时,客户机与服务器之间要建立两次TCP连接: 控制连接(Control Connection): 客户程序主动与FTP服务器(21端口)连接,并在整个会话过程中维持连接。 数据连接(Data Connection) 两个主机之间,每传输一个文件建立一个连接(20端口) 。

  4. FTP客户机与服务器工作原理

  5. FTP的主要功能 1、客户机与服务器之间交换一个或多个文件: 文件是复制不是移动。 2、能够传输多种类型、多种结构、多种格式的文件 ASCII、Binary两类(无须变换文件的原始格式); 3、提供对本地和远程系统的目录操作功能,如改变目录 4、具有对文件改名、显示内容、改变属性、删除之功能 以及其他一些操作 5、具有匿名FTP功能

  6. FTP的必备条件 TCP/IP协议族的安装和连通 ftp 与 ftpd 合法的 User—id Password 匿名注册: login:Anonymous password:test@ecust.edu.cn

  7. 文件传输功能图 多文件传输操作 ftp>mput local-file 本地多文件送到远程去 ftp>mgetremote-file 从远程取多文件到本地 查看文件内容命令组 ftp>get filen - 只显示服务器端文件filen内容, - 代表本地 put mput send append FTP Server FTP Client get reget mget recv

More Related