bluestone

Learning without thinking leads to confusion;thinking without learning leads to danger.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

2014年4月26日

摘要: ftpClient.listFiles(pathname).length获取不到指定ftp目录下的个数,得到的永远为0解决方法:首先设置ftp客户端的属性,添加一句:ftpClient.enterLocalPassiveMode(),再执行ftpClient.listFiles(pathname).... 阅读全文
posted @ 2014-04-26 10:33 ssatyr 阅读(532) 评论(0) 推荐(0)