登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 信息工程 > 正文

基于FTP协议的文件传输工具设计毕业论文

 2021-04-21 12:04  

摘 要

FTP是目前应用场景非常广泛的一种工具,在Internet上很早就出现了,却经久不衰,它对文件的传输具有非常重要的意义,到目前为止,依然很基本、很重要。要想将文件下载到本地,有很多种方式,其中使用FTP,是最常见也是最普遍最实用的。随着FTP的发展,市面上也出现了很多以此为基础的下载工具。

本文主要使用了JAVA语言,在在Windows 7(旗舰版) Eclipse jdk1.6.0_18下,利用了FTP传输协议,实现了FTP的数据传输,本文搭建的FTP客户端,通过分析FTP协议的基本工作原理和FTP的数据传输原理,能够实现文件上传、下载、删除、刷新等功能。并且具有安全性保障,客户端具有用户识别功能,可以根据用户所输入的ID、密码、端口号、IP地址等来确认用户的身份是否具有资格连接服务器,来确保浏览资源的用户都是有权限的。FTP文件传输协议的应用场景很多样,并且有很多优势,现在也有很多工具能够实现远程访问文件,比如说以远程登录(Telnet)为基础的一些工具,但是最方便的还是将文件保存到自己的电脑里。而FTP正可以实现这样的功能。任何一台计算机,只要有联机数据库,并且既公共,又有效,经过FTP访问,你都可以获得此台计算机里你所需要的文件。FTP的主要功能就是以Internet为载体,进行文件的传输,可以给我们日常文件的上传、下载删除等带来了很多便捷,与生活息息相关。

关键词:FTP客户端;FTP协议;工作原理;上传下载

Abstract

FTP is a tool with a very wide range of application scenarios. It appeared early on the Internet, but it is enduring. It has very important significance to the transmission of files. So far, it is still very basic and very important. To download files locally, there are many ways in which FTP is used, which is the most common and most common and practical. With the development of FTP, there are many download tools based on this.

This article mainly studies how FTP data transmission is implemented, the basic principle of FTP protocol, and uses JAVA language to build an FTP client. By analyzing the basic working principle of FTP protocol and FTP data transmission principle, based on FTP, using JAVA language tool design A software that can achieve file upload, download, delete, refresh, and other functions. The JAVA class library has the ftpclient class, relying on this to implement the basic functions of our usual FTP file transfer tools. And with security protection, the client has a user identification function, according to the user's input ID, password, port number, IP address, etc. to confirm whether the user's identity is eligible to connect to the server, to ensure that users browse the resources are authorized of.

The FTP client for this article was developed using the Java programming language under Windows 7 (Ultimate) Eclipse jdk1.6.0_18 and used with an FTP server called QuickEasyFTPServer. Part of the connection between the server and the client mainly uses the Jtextfiled component in the JAVA build library. The FTP file transfer protocol has many application scenarios and has many advantages. Now there are many tools that can remotely access files, for example, to log in remotely. (Telnet) based tools, but the most convenient is to save the file to your computer. And FTP can achieve such a function. Any computer, as long as you have an online database, and it is both public and effective, you can get the files you need on this computer through FTP access. FTP's main function is to use the Internet as a carrier for file transfer, which can bring us a lot of conveniences such as uploading, downloading and deleting of our daily files, and is closely related to life.

Key Words: FTP client; FTP protocol; working principle; upload and download

目录

第1章 绪论 1

1.1 系统研究背景及意义 1

1.2 国内外研究现状分析 1

1.3 论文的研究内容 2

1.4 论文结构 2

第2章 主要技术介绍 3

2.1 FTP协议介绍 4

2.2.1 FTP的工作原理 4

2.2.2 FTP工作模式 5

2.2 JAVA技术介绍 7

2.3 本章总结 8

第3章 需求分析和总体设计 8

3.1系统设计需求分析 8

3.2 系统总体架构 10

3.2.1 系统设计模型 10

3.2.2 系统工作流程设计 10

3.2.3 用户连接流程图 11

3.2.4 上传部分流程图 11

3.2.5 下载部分流程图 12

3.3 本章总结 12

第4章 系统详细设计 14

4.1 系统设计 14

4.1.1 数据输入模块详细设计 14

4.1.2文件浏览界面的设计 15

4.1.3操作模块详细设计 15

4.2 具体功能部分实现 16

4.3 本章总结 18

第5章 系统测试 20

5.1 系统整体工作流程 20

5.2 系统测试实验结果 20

第6章 总结与展望 26

总结 26

展望 27

参考文献 27

致谢 29

第1章 绪论

1.1 系统研究背景及意义

FTP是目前应用场景非常广泛的一种工具,在Internet上很早就出现了,却经久不衰,它对文件的传输具有非常重要的意义,到目前为止,依然很基本、很重要。如果从原理上来说呢,FTP其实是以FTP协议为基础,在Internet上,帮助用户实现文件的传输、下载、上传等操作的文件传输的一个系统,支持传输的文件类型也是多种多样,我们常见的比如图片、文本、音视频等都能实现传输。要想实现这样的一个文件传输系统,我们必须要有两个大部分,一个就是用于承载文件的服务器端,一个就是用户使用的客户端,需要具有用户亲和的UI,方便使用。当今网络为什么这么流行,很大一个原因就是因为网络上我们能获得海量的资源,而FTP服务器则是这些资源的存储载体,FTP客户端可以帮助我们获得这些资源,网上有很多很方便的FTP客户端资源,有些收费有些免费,常见的有cuteFTP,WS_FTP,ByteCatcher,本文介绍了如何设计一个简易的客户端,方便用户使用,下载、上传、删除资源。

这次本文介绍的FTP客户端的设计,也是基于TCP/IP协议,网络环境使用已有的,能够让用户根据一定的条件登录到指定的FTP文件服务器,去调动自己想要调动的资源,如用户名和密码、服务器的IP地址还有端口号,实现文件的浏览、上传、下载、删除等基本操作,界面设计亲和用户,符合人体使用习惯,可以说是简单、易用、效率高。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图