1.直接生成文件在本地环境 一般使用FileUtil.copy(tempFile, physicFile, true); 2.上传到某个linux服务器 需要用jsch或者ssh2 的方式 创建Channel Session等