FTP客户端软件的设计与实现
摘 要
文件传输协议 (File Transfer Protocol, FTP),它是目前Internet上使用得最广泛的文件传送协议。起初,FTP并不是应用于IP网络上的协议,而是20世纪60~80年代美国国防部组建的ARPANET网络中,用于计算机间的文件传输的协议。时至今日,FTP仍然保持其可靠性,高速地传输文件,它还允许文件远程存取。这使得用户可以在某个系统上工作,而将文件存贮在别的系统。为了用户更方便的使用FTP服务,提供更好的人机交互界面,本课题将使用JAVA以及JBuilder的ftpclient库,基于Client/Server的架构方式,编写一个友善界面的FTP客户端工具,实现服务器连接、远程与本地目录浏览、文件上传和下载等基本FTP工具常用功能。
关键词: FTP;上传;下载
The Design and Implementation of FTP Client
Abstract
File Transfer Protocol (FTP), which is the most widely used protocol for transmission at present. In the beginning, the FTP is not used on the IP network, but used in the United States Department of Defense network for the computer file transfer agreement in the 1960's to 1980's. Today, FTP is maintaining its reliability, high-speed transmission of documents, it also allows remote access to documents, Users can manipulate data in other different system, to make users more convenient use FTP services, have a better man-machine interface, this system will be written by Java, JBuilder, and the ftpclient library. Basing on Client/Server structures, to prepare a FTP client tool with a friendly interface, it can login to the server, browse remote and local directory, upload and download.
Key words: FTP; Upload; Download
目 录
论文总页数:20页
1 引言....................................................................... 1
1.1选题背景................................................................ 1
1.2 选题目的.............................................................. 1
2 相关基础技术与开发平台..................................................... 1
2.1 JAVA技术............................................................... 1
2.1.1 JAVA简介.......................................................... 1
2.1.2 C/S架构简介....................................................... 2
2.2 FTP基础................................................................ 3
2.3 开发平台............................................................... 4
3系统需求分析与总体设计...................................................... 4
3.1 需求分析............................................................... 4
3.2 设计思路............................................................... 5
3.3实现思路................................................................ 5
4 系统模块的实现............................................................. 7
4.1 界面模块实现........................................................... 7
4.2 登录模块实现........................................................... 8
4.3 浏览程序.............................................................. 10
4.3.1浏览服务器端目录程序.............................................. 10
4.3.2本地浏览程序...................................................... 12
4.4文件下载和上传程序....................................................... 13
4.4.1文件下载程序...................................................... 13
4.4.2文件上传程序...................................................... 13
5 系统测试及问题处理........................................................ 15
5.1测试环境............................................................... 15
5.2 测试结果.............................................................. 15
5.2.1登录模块测试...................................................... 15
5.2.2系统兼容性测试.................................................... 16
5.3 测试总结.............................................................. 16
结 论.................................................................... 17
参考文献.................................................................... 18
致 谢.................................................................... 19
声 明.................................................................... 20