新聞中心
edtFTPj是一個(gè)FTP客戶端庫(kù),可讓任何Java應(yīng)用程序 能有充分的嵌入式FTP功能。它包括一個(gè)易于使用的API的方法,如 downloadFile() 和uploadFile() 。大多數(shù)FTP命令的支持,并主動(dòng)和被動(dòng)模式。

edFTPj已被廣泛的測(cè)試,并已廣泛應(yīng)用于成千上萬(wàn)的項(xiàng)目。
示例代碼:
- FileTransferClient ftp = new FileTransferClient();
- ftp.setRemoteHost(host);
- ftp.setUserName(username);
- ftp.setPassword(password);
- ftp.connect();
- string[] files = ftp.directoryNameList();
- ......
- ftp.disconnect();
新版本改進(jìn)內(nèi)容:
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
網(wǎng)頁(yè)題目:edtFTPj/PRO4.0發(fā)布Java的FTP類庫(kù)
轉(zhuǎn)載來(lái)源:http://m.5511xx.com/article/codieej.html


咨詢
建站咨詢
