- 1
- 0
- 约2.97千字
- 约 36页
- 2021-06-22 发布于上海
- 举报
《计算机网络与因特网》课件第四章文件传输与远程文件访问 Data Connection (2) The client sends this port number to the server using the PORT command. Data Connection (3) The server receives the port number and issues an active open using the well-known port 20 and the receive ephemeral port number. Active open by server Communication is achieved through commands and responses. FTP uses the NVT ASCII character set Communication over Control Connection The client must define the type of file to be transferred,the structure of the data,and the transmission mode. Communication over Data Connection Heterogeneity problem ASCII file: this is the default format for transferring text files. Each character is encoded using NVT ASCII. The sender transforms the file form its own representation into NVT ASCII characters and the receiver transforms the NVT ASCII characters to its own representation. File Type (1) EBCDIC file: EBCDIC: Extended Binary-Coded Decimal Interchange Code 扩充的二—十进制交换码. if one or both ends of the connection use EBCDIC encoding,the file can be transferred using EBCDIC encoding. File Type (2) Image file: this is the default format for transferring binary files. the file is sent as continuous streams of bits without any interpretation or encoding. This is mostly used to transfer binary files such as compiled programs. File Type (3) File structure(default): it is a continuous stream of bytes. Record structure: the file is divided into records.this can be used only by with text files. Page structure: the file is divided into pages, with each page having a page number and a page header.the pages can be stored or accessed randomly or sequentially. Data Structure Stream mode: this is the default mode. Data are delivered from FTP to TCP as a continuous stream of bytes. Block mode: data can be delivered from FTP to TCP in blocks.each block is preceded by a 3-byte header. Compressed mode: if the file is big,the data can be compre
您可能关注的文档
最近下载
- 资产处置委托协议书模板5篇.docx VIP
- mipi_CSI-2_specification_v1.3._高清版电子文档.pdf VIP
- 2025学校行政工作管理制度汇编.docx VIP
- QSH 0042-2007 钻井液用磺甲基酚醛树脂技术要求.docx VIP
- 《QSH0047-2007-钻井液用抗高温抗盐降滤失剂通用技术要求》.pdf VIP
- 股市主力操盘盘 口摩斯密码(原创内容,侵权必究).pptx
- 指数基金投资指南(银行螺丝钉).pdf VIP
- 《QSH0082-2007-水平井钻井工程设计要求》.pdf VIP
- 2024年高考真题和模拟题生物分类汇编(全国通用)专题18 基因工程(解析版).docx VIP
- 2025年学校人事管理制度汇编.docx VIP
原创力文档

文档评论(0)