java code:
FTPClient fc = null;
fc = new FTPClient(ftpserver); //服务器路径
fc.login(ftpuser, ftppassword);
fc.chdir(ftppath); //更换路径
fc.setType(FTPTransferType.BINARY);
byte[] b = fc.get(ftpfile1); //获取的文件
FileOutputStream fp = new FileOutputStream(filePath1); //创建本地文件
fp.write(b);
fp.close();获取excel2003文件数据使用类:Workbook,Sheet等
1040

被折叠的 条评论
为什么被折叠?



