mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
change date converter
This commit is contained in:
@@ -15,27 +15,27 @@ public class FtpTest {
|
||||
@Ignore
|
||||
public void cdTest() {
|
||||
Ftp ftp = new Ftp("looly.centos");
|
||||
|
||||
|
||||
ftp.cd("/file/aaa");
|
||||
Console.log(ftp.pwd());
|
||||
|
||||
|
||||
IoUtil.close(ftp);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void uploadTest() {
|
||||
Ftp ftp = new Ftp("looly.centos");
|
||||
|
||||
|
||||
List<String> ls = ftp.ls("/file");
|
||||
Console.log(ls);
|
||||
|
||||
|
||||
boolean upload = ftp.upload("/file/aaa", FileUtil.file("E:/qrcodeWithLogo.jpg"));
|
||||
Console.log(upload);
|
||||
|
||||
|
||||
IoUtil.close(ftp);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void reconnectIfTimeoutTest() throws InterruptedException {
|
||||
|
Reference in New Issue
Block a user