Java 的 FTP 类库 edtFTPj/PRO 4.0 发布,

openkk 12年前
     <p>edtFTPj是一个FTP客户端库,可让任何Java应用程序 能有充分的嵌入式FTP功能。它包括一个易于使用的API的方法,如 downloadFile() 和uploadFile() 。大多数FTP命令的支持,并主动和被动模式。 edFTPj已被广泛的测试,并已广泛应用于成千上万的项目。</p>    <p>示例代码:</p>    <p></p>    <pre class="brush:java; toolbar: true; auto-links: false;">FileTransferClient ftp = new FileTransferClient();  ftp.setRemoteHost(host);  ftp.setUserName(username);  ftp.setPassword(password);  ftp.connect();  string[] files = ftp.directoryNameList();  ......  ftp.disconnect();</pre>    <p></p>    <p>新版本改进内容:</p>    <ol>     <li>This release adds support for zlib@openssh.com compression (delayed compression). </li>     <li>Algorithm settings for SSH now apply to instances (they were static properties). </li>     <li>Support<span class="truncate_more"> has been added for FTPS servers that require logging in prior to PBSZ/PROT. <br /> </span></li>     <li><span class="truncate_more">A 'type' command has been added to the script engine. <br /> </span></li>     <li><span class="truncate_more">A timeout has been applied to getting a connection from the connection pool. <br /> </span></li>     <li><span class="truncate_more">setCheckDirReadableForChDir() has been added to SSHFTPClient. <br /> </span></li>     <li><span class="truncate_more">There is a fix so that IBM JVMs supports AES encrypted private keys<br /> </span></li>    </ol> 项目地址:    <a href="/misc/goto?guid=4958186927560988111" target="_blank">http://www.enterprisedt.com/products/edtftpj/overview.html</a>