change date converter

This commit is contained in:
Looly
2021-09-24 23:22:31 +08:00
parent 7b6593fe68
commit d243764d51
4 changed files with 37 additions and 19 deletions

View File

@@ -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 {