Commit aa60b278 by 雷紫添

增加限流空置。

parent 959a883f
......@@ -172,7 +172,8 @@ public class FtpUtil {
public static void main(String[] args) {
try {
FileInputStream in=new FileInputStream(new File("D:\\JCCJ-R1100000500002014070001.xml"));
boolean flag = uploadFile("47.92.129.99", 4546, "ftpuser", "fou3rfnder4SD1", "/home/ftpuser/","/2016/", "JCCJ-两岸三地R1100000500002014070001.xml", in);
// boolean flag = uploadFile("47.92.129.99", 4546, "ftpuser", "fou3rfnder4SD1", "/home/ftpuser/","/2016/", "JCCJ-两岸三地R1100000500002014070001.xml", in);
boolean flag = downloadFile("47.92.129.99", 4546, "ftpuser", "fou3rfnder4SD1", "home/ftpuser/2016/", "JCXX-R1100000500002014070008.zip","D:\\");
System.out.println(flag);
} catch (FileNotFoundException e) {
e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment