基于 java 的远程登录和文件传输功能的实现
吴鸿飞
(计算机科学与技术学院 2000 级 4 班)
摘要
Internet 发展至今产生了两种比较重要的网络体系结构:ISO/OSI 和 TCP/IP 参
考模型,ISO/OSI 模型有 7 层:物理层,数据链路层,网络层,传输层,会话层,表示层,应
用层。而 TCP/IP 模型只有 4 层:主机至网络层,互连网层,传输层,应用层。其中 TCP/
IP 参考模型中的应用层包含所有的高层协议,最早引入的是虚拟终端协议,文件传
输协议和电子邮件协议。本文对网络计算机相互通信的机理进行比较细致和深入的
分析,并采用 java 编程工具实现了远程登录和文件传输的功能。
关键词:TCP/IP JAVA 远程登录 文件传输
Abstract
Internet produces two kinds of more important network system structure so far that
Internet is developed, ISO/OSI and TCP/IP consult models, ISO/OSI model is 7 layers:
Physics layer, data link layer, network layer, transport layer, session layer, persentaltion
layer, opplication layer. And TCP/IP model is 4 layers: From host computer to Internet,
network layer, transport layer, opplication layer. TCP/IP among them consult application
layer of model include all on the senior level Protocol, introduce TELecommunications
NETwork , File Transfer Protocol and Simple Mail Transfer Protocol, Careful and deep
analysis that this text compares mechanism that the network computer communicates each
other, and adopt java programming tool to realize the functions of telecommunications
network and file transfer.
KEY WORDS: TCP/IP JAVA TELNET FTP