Socket文件传输(FTP)包含Server,Client

上传者: googol2002 | 上传时间: 2022-07-26 14:25:41 | 文件大小: 18KB | 文件类型: 7Z
这是一个用纯Socket和Java标准写成的文件传输软件,早出来这个轮子给大家看一看,不要大家去用,而是去共同学习,更好的用别人造出来的轮子,总之我这个文件传输思路是对的,可能和FTP协议不太吻合(我只用了一个21端口),不过大家也就是学思想是不是。

文件下载

资源详情

[{"title":"( 44 个子文件 18KB ) Socket文件传输(FTP)包含Server,Client","children":[{"title":"FTPServer","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"publicclass","children":[{"title":"Msg.class <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"ftpserver","children":[{"title":"model","children":[{"title":"ChildListener.class <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"Listener.class <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"DoWithCommand.class <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false},{"title":"ClientsAdmin.class <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"Client.class <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"SMain.class <span style='color:#111;'> 972B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"ReceiveData.class <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"UploadData.class <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"ControlFile.class <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"UploadDataListener.class <span style='color:#111;'> 169B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"publicclass","children":[{"title":"Msg.java <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":true},{"title":"ftpserver","children":[{"title":"model","children":[{"title":"ClientsAdmin.java <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"Listener.java <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"ChildListener.java <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"Client.java <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"DoWithCommand.java <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"SMain.java <span style='color:#111;'> 474B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"ControlFile.java <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"ReceiveData.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"UploadData.java <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"UploadDataListener.java <span style='color:#111;'> 111B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false}],"spread":true},{"title":"FTPClient","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"publicclass","children":[{"title":"Msg.class <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"ftpclient","children":[{"title":"model","children":[{"title":"Listener.class <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"DoWithCommand.class <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"SocketsAdmin.class <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"CMain.class <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"ReceiveData.class <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"SendData.class <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"SendDataListener.class <span style='color:#111;'> 165B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 670B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"publicclass","children":[{"title":"Msg.java <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":true},{"title":"ftpclient","children":[{"title":"model","children":[{"title":"Listener.java <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"SocketsAdmin.java <span style='color:#111;'> 1003B </span>","children":null,"spread":false},{"title":"DoWithCommand.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"view","children":[{"title":"CMain.java <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"SendData.java <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"SendDataListener.java <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"ReceiveData.java <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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