Python HTML5 Windows 程序员 mysql java 开源 linux命令 Firefox nginx centos wordpress shell 微软 Android google linux php Ubuntu apache

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

edtFTPj 是一个ftp客户端库,可让任何JAVA应用程序 能有充分的嵌入式FTP功能。它包括一个易于使用的API的方法,如 downloadFile() 和uploadFile() 。大多数FTP命令的支持,并主动和被动模式。 edFTPj已被广泛的测试,并已广泛应用于成千上万的项目。

示例代码:

FileTransferClient ftp = new FileTransferClient();
ftp.setRemoteHost(host);
ftp.setUserName(username);
ftp.setPassword(password);
ftp.connect();
string[] files = ftp.directoryNameList();
......
ftp.disconnect();

新版本改进内容:

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

下载地址:http://www.enterprisedt.com/products/edtftpj/download.html

延伸阅读

  • 抱歉,暂无相关内容!

评论