各位大侠。写了一个JAVA的小程序从ftp服务器down文本文件。在测试服务器上很好,但是到了生产服务器上就报Exceptionsun.net.ftp.FtpProtocolException: PORT :503 PORT command is disabled by EPSV ALL command.
exception
at sun.net.ftp.FtpClient.openDataConnection(Unknown Source)
at sun.net.ftp.FtpClient.get(Unknown Source)
at com.travelsky.liancheng.ftpClient.downFile(ftpClient.java:185)
at com.travelsky.liancheng.ftpLoader.main(ftpLoader.java:27)我用的是 sun的ftp包。网上木有apigoogle也找不到和我相同的问题。郁闷死了!
哪位大哥能帮忙解决一下啊!