添加依赖
1 | <!-- https://mvnrepository.com/artifact/commons-net/commons-net --> |
读取FTP中的文件
1 | public static void main(String[] args) throws Exception |
把文件上传到FTP
1 | public static void main(String[] args) throws Exception |
1 | <!-- https://mvnrepository.com/artifact/commons-net/commons-net --> |
1 | public static void main(String[] args) throws Exception |
1 | public static void main(String[] args) throws Exception |