edtFTPj/PRO4.0发布Java的FTP类库

edtFTPj是一个FTP客户端库,可让任何Java应用程序 能有充分的嵌入式FTP功能。它包括一个易于使用的API的方法,如 downloadFile() 和uploadFile() 。大多数FTP命令的支持,并主动和被动模式。

edFTPj已被广泛的测试,并已广泛应用于成千上万的项目。

示例代码:

 
 
 
  1. FileTransferClient ftp = new FileTransferClient();
  2. ftp.setRemoteHost(host);
  3. ftp.setUserName(username);
  4. ftp.setPassword(password);
  5. ftp.connect();
  6. string[] files = ftp.directoryNameList();
  7. ......
  8. ftp.disconnect();

新版本改进内容:

This release adds support for zlib@openssh.com compression (delayed compression).
Algorithm settings for SSH now apply to instances (they were static properties).
Support has been added for FTPS servers that require logging in prior to PBSZ/PROT.
A 'type' command has been added to the script engine.
A timeout has been applied to getting a connection from the connection pool.
setCheckDirReadableForChDir() has been added to SSHFTPClient.
There is a fix so that IBM JVMs supports AES encrypted private keys

本文标题:edtFTPj/PRO4.0发布Java的FTP类库
网站路径:http://www.shufengxianlan.com/qtweb/news9/456709.html

网站建设、网络推广公司-创新互联,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联