Java Socket 编程模拟Ftp

上传者: fengzhou0920 | 上传时间: 2020-01-13 03:02:59 | 文件大小: 42KB | 文件类型: rar
1、本项目是使用Java socket 编程来模拟Ftp,严格按照M-V-C架构分包分类,并实现Swing界面,Ftp使用TCP端口21传输控制信息,使用TCP端口20来传输文件数据。 2、本项目默认使用TCP端口4321来传输控制信息,使用TCP端口5432来传输文件数据。 3、本项目现可发送dir、get 、exit命令。 4、本项目尚未实现切换目录功能,如cd 。 5、本项目中根目录可修改客户端和服务器端fileDir,默认为C:/。 6、要实践本项目必须在客户端的根目录(默认为C:/)下建立文件夹Downloads。

文件下载

资源详情

[{"title":"( 25 个子文件 42KB ) Java Socket 编程模拟Ftp","children":[{"title":"成功项目","children":[{"title":"FtpClient.jar <span style='color:#111;'> 11.80KB </span>","children":null,"spread":false},{"title":"注意!!!.txt <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"FtpServer.jar <span style='color:#111;'> 11.80KB </span>","children":null,"spread":false},{"title":"Myproject","children":[{"title":".project <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"org","children":[{"title":"zfz","children":[{"title":"view","children":[{"title":"ServerView.class <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"ClientView.class <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"app","children":[{"title":"ServerApp.class <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"ClientApp.class <span style='color:#111;'> 438B </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"FtpClient.class <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"FtpServer.class <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"CommandListener.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"HandlerServerClose.class <span style='color:#111;'> 566B </span>","children":null,"spread":false},{"title":"HandlerServerStart.class <span style='color:#111;'> 828B </span>","children":null,"spread":false},{"title":"HandlerClientCon.class <span style='color:#111;'> 826B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"org","children":[{"title":"zfz","children":[{"title":"view","children":[{"title":"ClientView.java <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"ServerView.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"app","children":[{"title":"ServerApp.java <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"ClientApp.java <span style='color:#111;'> 156B </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"FtpServer.java <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"FtpClient.java <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"HandlerServerStart.java <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"CommandListener.java <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"HandlerServerClose.java <span style='color:#111;'> 294B </span>","children":null,"spread":false},{"title":"HandlerClientCon.java <span style='color:#111;'> 482B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 232B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qw2080 :
    挺好的,要改下才能跑通,功能比较简单,自己又添加了一些。谢谢分享了~
    2014-05-18
  • -晓晓松 :
    做的挺不错的,可以学习学习
    2014-05-08
  • yll2121 :
    有点复杂,稍微有点难
    2014-02-17
  • Jelly_Qin :
    不太会用 希望给一份详细的文档
    2013-11-18
  • supermyc :
    代码还行,但是主动上传模式 不好用
    2013-08-07

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明