下载单个文件文件 InputStream is = ftpClient.retrieveFileStream(remoteBaseDir); BufferedReader br = new BufferedReader(new InputStreamReader(is, "utf8"));
String str=""; try { while((str=br.readLine())!=null){ System.out.println(str); } } catch (Exception e) { e.printStackTrace(); } */ }
posted on 2014-04-10 18:42 一堣而安 阅读(744) 评论(0) 编辑 收藏 所属分类: java
Powered by: BlogJava Copyright © 一堣而安