ftpClient的连接超时设置
摘要:
FTPClient ftpClient = new FTPClient();ftpClient.setConnectTimeout(10*1000); // 10s,如果超过就判定超时了ftpClient.connect(hostName, 21);http://commons.apache.org... 阅读全文
posted @ 2014-11-17 23:38 develooop 阅读(20498) 评论(0) 推荐(0)
浙公网安备 33010602011771号