文档详情

基于FTP的服务器及客户端的设计与实现论文.doc

发布:2017-11-16约2.99万字共49页下载文档
文本预览下载声明
摘要 网络环境中的一项基本应用就是将文件从一台计算机中复制到另一台可能相距很远的计算机中。而文件传送协议FTP是因特网上使用得最广泛的文件传送协议。FTP使用客户服务器方式。本课题就是设计一个FTP服务器程序和一个FTP客户端程序。 本文通过软件工程学的方法完成对FTP服务器程序和客户端程序的设计以及具体的实现,设计步骤采用自顶向下的方法。描述了需求分析,总体设计,详细设计等内容,并对程序系统的实现做出了详细的介绍。本文所实现的FTP程序基本符合编程规范,主要具备完成FTP连接的打开和关闭操作;能执行文件的上传和下载;能完成用户的登陆判断;目录的跳转以及文件目录的输出几个功能。 关键词 服务器;系统设计;软件工程 ABSTRACT One basic application of Internet environment is to copy documents from one computer to another distant one, while the File Transfer Protocol (FTP) is the most widely-used document transfer protocol on the Internet. FTP adopts the client-server mode. The object of this task is to design a FTP server program and a FTP client program. This article mainly focuses on how to design and concretely realize the programs of FTP server and client through the method of software engineering. The procedures follow the way which is from the top to the bottom. This article could be divided into several chapters, including the analysis of FTP protocol, the analysis of demands, program design and practical function design, with a detailed introduction of the analysis, design and realization of FTP programs.This largely according with programming criterion, this FTP program is equipped with a couple of functions involving the initiation and closure of FTP links, uploading and downloading files, the judgement of user’s logging status, automatically altering Jumping catalogs and the output of file catalogs. Key words Server, System Design, Software Process 目录 摘要 I ABSTRACT II 第1章 绪论 1 1.1系统开发背景 1 1.2课题主要研究内容和意义 2 1.3 Eclipse的概述 2 1.4 本章小结 3 第2章FTP协议 4 2.1 FTP简介 4 2.1.1 FTP服务器登入方式的分类 4 2.1.2 FTP运行原理 5 2.2 FTP标准命令 6 2.3 本章小结 8 第3章 需求分析 9 3.1 任务描述 9 3.2 用户特点 9 3.3 软件架构 9 3.3.1服务器架构设计 9 3.3.2客户端架构设计 10 3.4开发环境 11 3.5本章小结 11 第4章 系统设计 12 4.1 模块设计 12 4.1.1 FTP服务器模块 12 4.1.2 FTP客户端模块 13 4.2 FTP服务器模块的设计 13 4.2.1 服务器控制模块 13 4.2.2 数据传输模块 17 4.2.3 命令信道模块 18 4.2.4 文件处理模块 19 4.2.5 用户相关模块 20 4.3 FTP客户端模块设计 21 4.3.1 客户端信息处理模块 21 4.3.2 客户端文件传输模块 23 4.3.3 客户端网络连接模块 25 4.4 FTP类图 25 4.5本章小
显示全部
相似文档