前 言
随着计算机网络技术的飞速发展,客户/服务C/S(Client/Sersver)结构成为开发FTP的网络编程结构,Java作为Web应用程序的开发技术也为更多的人所采用。 起初, FTP并不是应用于IP网络上的协议,而是ARPANET网络中计算机间的文件传输协议, ARPANET是美国国防部组建的老网络,于1960-1980年使用。在那时, FTP的主要功能是在主机间高速可靠地传输文件。目前FTP仍然保持其可靠性,即使在今天,它还允许文件远程存取。这使得用户可以在某个系统上工作,而将文件存贮在别的系统。例如,如果某用户运行Web服务器,需要从远程主机上取得HTML文件和CGI程序在本机上工作,他需要从远程存储站点获取文件(远程站点也需安装Web服务器)。当用户完成工作后,可使用FTP将文件传回到Web服务器。采用这种方法,用户无需使用Telnet登录到远程主机进行工作,这样就使Web服务器的更新工作变得如此的轻松。 和Internet上的许多环境一样,完整的Java应用环境实际上也是一个客户机/服务器环境,更确切地说是浏览器/服务器模型(即Browser/Server模型,简称Web模型)。但与传统的客户机/服务器(C/S)的二层结构不同,应用Java的Web模型是由三层结构组成的。传统的C/S结构通过消息传递机制,由客户端发出请求给服务器,服务器进行相应处理后经传递机制送回客户端。而在Web模型中,服务器一端被分解成两部分:一部分是应用服务器(Web服务器),另一部分是数据库服务器. 【关键词】:FTP,C/S,B/S PREFACEAs the computer network technology is developing in a high speed. C/S (Client/Server) has become a FTP network programming structure. Java is used more and more as a Web application program. In the beginning, FTP was not be used in IP net protocol, but which is used in ARPANEt network computers. ARPANEt was an old network of the U.S. Department of Defense between 1960s and 1980s.At that period the main function of the FTP is transmitting documents reliably and in high speed between the master computers. At present, it also does very well, furthermore, it permits store or access in telecommuting today. So the users can work on one system and store the document in another. For example, someone use the Web server, and need some HTML document and CGI program on his own computer, and want to acquire some documents, (the telnet need install Web server). When the user finished he can store the document to the Web server by the FTP. In this way, the user can work without Telnet, which make the Web server update more and more easier. The whole Java circumstance actually is a C/S (Client/Server) like the other circumstances on the Internet, strictly to say, it is Browser/Server model (Web model). But it is different from the traditional C/S model that is two layers structure. The Web using Java is three layers structure. The traditional C/S structure transmits by the message mechanism. The Client sent a request, and the Server sent to it after some corresponding manages. But in the Web model the Server is separated into two parts, one is the application Server (Web Server); another is database Server. 【Keywords】: FTP,C/S,B/S
|
关于FTP传输的设计与实现
- 上一篇:Java代码框架自动生成技术的研究
- 下一篇:[计算机软件] 宽带网络管理系统
查看评论
已有0位网友发表了看法