HttpServletResponse response = cycle.getRequestContext().getResponse();
response.reset();
response.setHeader("Content-disposition", "attachment; filename="
+ new String(fileName.getBytes("GBK"), "ISO-8859-1"));
response.setContentType("application/msword;charset=utf-8");
os = response.getOutputStream();
//得到文件信息
//得到ftp,得到文件流
FtpUtil ftp=new FtpUtil(Constants.PARA_DETAIL.CODE_COMMON_FTP_PATH);
ftp.download(fileURL, os);
os.flush();