FTP服务与客户端设计
摘要 FTP为一种主流的网络文件传输协议。FTP服务与客户端,有助于深入理解网络编程和FTP协议,使理论知识和实践结合起来。本文采用VC++6.0编程工具了FTP服务与客户端设计。其主要设计工作为:服务器端设计和客户端设计。服务器端设计模块主要有:服务器日志模块,在线用户模块,程序设置模块 ,统计模块,安全模块。服务器日志模块负责显示各种日志信息,在线用户模块负责显示在线用户信息,程序设置模块负责配置服务器的工作参数,统计模块负责统计所有的工作情况,安全模块负责管理接入用户的权限。客户端设计模块主要有:连接服务器模块,上传文件模块,下载文件模块。连接服务器模块负责根据用户的输入信息接入服务器,上传文件模块负责将本地文件上传到服务器,下载文件模块负责下载服务器文件到本地机器。通过实际测试和应用,验证了本文设计的正确性。xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
关键词 FTP 服务器 客户端 VC++6.0
The design of FTP Server and Client
Abstract FTP is a mainstream network file transfer protocol. Design and Implementation of FTP services and clients will help in-depth understanding of network programming and FTP, and make the theoretical knowledge and practice together. In this paper, using VC + +6.0 programming tool, the FTP server and client designe are designed and implemented. The main design work is for: the design of server and client . Server-side design modules are: server logs module, online modules, procedures set module, statistics module, the security module. Server logs showing module is responsible for the various log information, online displaying is module responsible for online information, procedures setting module is responsible for the allocation of server operating parameters, statistics module is responsible for all the statistical work, security module is responsible for the management of user access privileges. Client design modules are: connect to server module, upload module, download files module. The module to connect to server is responsible for accessing servers by the information which the user enter, uploading file module is responsible for uploading the local paper to the server, downloading files module is responsible for downloading the documents to the local machine from server. Through practical application and testing, it verifys the correctness of the design of the paper.
Keywords FTP Sever Client VC++6.0
目 录
第1章 引言 1
1.1 FTP介绍 1
1.2设计用的技术介绍 4
1.3 本文工作内容 6
第2章 系统整体设计 7
2.1 FTP服务器整体设计 7
2.2 FTP客户端整体设计 8
第3章 FTP服务器模块设计 9
3.1服务器日志模块 9
3.2 在线用户模块 12
3.3 程序设置模块 16
3.4 统计模块 20
3.5 安全模块 24
第4章 FTP客户端模块设计 33
4.1连接服务器模块 33
4.2 下载文件模块 35
4.3 上传文件模块 40
第5章 结论和展望 44
致 谢 45
参考文献 46
本文的主要工作为FTP服务器和客户端的设计。其主要设计内容有:
(1)服务器设计:
● 服务器日志模块。
● 在线用户模块。
● 程序设置模块 。
● 统计模块。
● 安全模块。
(2)客户端设计:
● 连接服务器模块。
● 上传文件模块。
● 下载文件模块。