mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
feat: hutool-extra ftp 支持上传文件或目录(包含当前及子孙目录的所有文件)
This commit is contained in:
@@ -33,6 +33,15 @@ public class FtpTest {
|
||||
IoUtil.close(ftp);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void uploadDirectorTest() {
|
||||
final Ftp ftp = new Ftp("localhost");
|
||||
|
||||
ftp.uploadFileOrDirectory("/temp", FileUtil.file("d:/test/"));
|
||||
IoUtil.close(ftp);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void reconnectIfTimeoutTest() throws InterruptedException {
|
||||
|
Reference in New Issue
Block a user