#!/bin/sh cd /data/backup/55mysql DATE=`date +'%Y%m%d'`file="55_mysql_"$DATE"03*.rar"file1="55_mysql_"$DATE"0302.rar"file2=55_mysql_"$DATE"1500.rarfile3=55_mysql_"$DATE"15*.rarftpuser="123&q…
下载文件具体实现代码: public class TestDownload{ public HttpServletRequest request; public HttpServletResponse response; //下载文件 public static void downLoadFile(){ String downloadFileName = "下载后文件名_TEST.xlsx"; FileInputStream inputStream = null; OutputStre…