基于FTP协议的文件传输系统//毕业设计
摘要
FTP是一种用于在网上传输文件的协议,从原理上说,FTP是一个客户/服务器模式的应用协议。它用两个连接来实现:一个是控制连接,用来连接服务器和实现文件操作;一个是数据连接,用来实现数据传输。FTP的实现核心是命令/应答模式,FTP客户端将用户的所有FTP相关请求都转化为FTP服务器可识别的命令,然后发送到服务器,并接收和处理执行完毕后服务器传回的应答。
本文介绍了根据FTP工作原理,利用C#语言开发FTP客户端软件的设计及开发过程。将FTP协议转化为程序实体的思想是将软件划分为两大模块,界面主模块和FTP功能实现模块。用户从软件界面输入FTP请求,请求被传送到功能实现模块,并被转化为FTP可识别的命令,功能模块判断此命令是控制连接还是数据连接。如果是控制连接,则调用控制连接程序;如果是数据连接,则调用数据连接程序,然后发送命令、接收应答。FTP客户端软件还实现了很多FTP相关的辅助功能。
关键词 C#; 文件传输协议;上传;下载
Abstract
FTP is a protocol which can transfer data between Client and Server. How FTP implement? FTP is a Client/Server protocol, and it must be run under two connections: one is Control-Connection(C-C), which connects to server and achieves file management; another is Data-Connection (D-C), which transfers data between Client and Server. The kernel of FTP mand/Response mode. FTP-Client makes the entire user's request mand and send it to FTP-Server, and receive, dispose the response from FTP-Server.
The paper introduces the FTP-Client designing and developing process and it is developed by C# based on FTP theory. The idea that the FTP protocol is transformed to a software reality is to make the software into two modules. One is interface module named main module, and another is implement module. When the users input request from the interface module, the request will be send to the implement module and then convert it to mand. If mand is a C-mand, implement module uses C-mand-Send program to send it and receive response. If mand is a D-mand, implement module uses D-mand-Send program to send it and receive response. This software also includes some other functions.
Key words C# FTP Up spread Download
目录
摘要....................................................................................................................... I
Abstract................................................................................................................. II
第1章绪论
基于FTP协议的文件传输系统╱╱毕业设计 来自淘豆网www.taodocs.com转载请标明出处.