设置ftpClient.enterLocalPassiveMode();//告诉ftpClient开启一个端口用来传输数据。 转载于:https://www.cnblogs.com/huiandong/p/10207438.html