VC++的FTP客户端设计与开发(含源文件) 联系客服

发布时间 : 星期日 文章VC++的FTP客户端设计与开发(含源文件)更新完毕开始阅读7304202bda38376bae1fae49

摘 要

FTP是Internet上用来传送文件的协议。它是为了我们能够在Internet上互相传送文件而制定的文件传送标准,规定了Internet上文件如何传送。通过FTP协议,我们就可以跟Internet上的FTP服务器进行文件的上传或下载。本文以实现一个简单易用的FTP客户端为目标,通过分析FTP协议的基本工作原理和FTP的数据传输原理,研究如何使用VC+=工具对FTP客户端进行设计,用VC++6.0编程工具设计和实现了FTP服务与客户端设计,从而实现了对FTP客户端的开发。

关键词: VC++;文件传输协议;客户端

Abstract

FTP is a protocol used to transfer files on the Internet. It is enacted in order that we can send each other files on the Internet file transfer standards, regulations on how to send files on the Internet. Through the FTP protocol, we can tell the FTP server on the Internet for file upload or download. This article is an easy-to-use FTP client in order to achieve the goal through the analysis of the basic working principle of the FTP protocol and FTP data transmission principle, how to use VC + = tools FTP client to design, designed using VC + +6.0 programming tools and FTP service, and client design that enables the development of the FTP client

Key words: VC++; FTP, Client

目 录

论文总页数:21页

1

引言 .................................................................................................................................................. 1 1.1 1.2 1.3 1.4 2

课题背景 ................................................................................................................................. 1 国内外研究现状 ..................................................................................................................... 1 本课题研究的意义 ................................................................................................................. 1 本课题的研究方法 ................................................................................................................. 2

技术背景 .......................................................................................................................................... 2 2.1 2.2 2.3 2.4

VC++技术简介 ....................................................................................................................... 2 FTP简介 .................................................................................................................................. 2 FTP工作模式 .......................................................................................................................... 3 SSL协议加密 ......................................................................................................................... 3

3 FTP软件需求分析 ........................................................................................ 错误!未定义书签。 3.1 3.2 3.3

需要完成目标 ....................................................................................... 错误!未定义书签。 功能需求 ............................................................................................... 错误!未定义书签。 环境需求 ............................................................................................... 错误!未定义书签。

4 FTP软件详细设计与实现 ............................................................................................................ 12 4.1 4.2

软件总体分析与设计 ........................................................................................................... 12 各模块具体设计 ................................................................................................................... 12

连接管理设计 ...............................................................................................................12 文件管理设计 ...............................................................................................................14 文件传输设计 ...............................................................................................................14 辅助功能设计 ...............................................................................................................14

4.2.1 4.2.2 4.2.3 4.2.4 4.3

模块的程序实现 ................................................................................................................... 15

连接管理的程序实现 ...................................................................................................15 文件管理的程序实现 ...................................................................................................16 文件传输的程序实现 ...................................................................................................17 辅助功能的程序实现 ...................................................................................................18

4.3.1 4.3.2 4.3.3 4.3.4

4.3.5 ftp传输过程加密实现 .........................................................................................................20 5

软件测试 ........................................................................................................................................ 20 5.1 5.2 5.3

测试前分析 ........................................................................................................................... 20 测试的过程与分析 ............................................................................................................... 20 测试小结 ............................................................................................................................... 22

结 论 ................................................................................................................................................ 23

参考文献 ................................................................................................................................................ 24 致 谢 ................................................................................................................................................ 24