From fa416754646d8cabcbdbed3345ff5674c37d1284 Mon Sep 17 00:00:00 2001 From: Alawn Date: Wed, 9 Mar 2022 10:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8B=9B=E8=A1=8C=E5=AF=B9?= =?UTF-8?q?=E8=B4=A6=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cap/etc/common/shell/downloadCMB.sh | 2 +- cap/etc/common/shell/downloadCMBBILL.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cap/etc/common/shell/downloadCMB.sh b/cap/etc/common/shell/downloadCMB.sh index 1ce91f8..7f80db1 100755 --- a/cap/etc/common/shell/downloadCMB.sh +++ b/cap/etc/common/shell/downloadCMB.sh @@ -36,7 +36,7 @@ fi cd $FILE_PATH #下载文件到当前文件夹 -wget -O $FILE_ZIP_NAME $FILE_URL +curl --connect-timeout 70 -m 60 -o $FILE_ZIP_NAME $FILE_URL FILE_SIZE=`du $FILE_ZIP_NAME | awk '{print $1}'` echo "下载文件[$FILE_ZIP_NAME],文件大小[$FILE_SIZE]" diff --git a/cap/etc/common/shell/downloadCMBBILL.sh b/cap/etc/common/shell/downloadCMBBILL.sh index a152692..b49bc52 100755 --- a/cap/etc/common/shell/downloadCMBBILL.sh +++ b/cap/etc/common/shell/downloadCMBBILL.sh @@ -36,7 +36,8 @@ fi cd $FILE_PATH #下载文件到当前文件夹 -wget -O $FILE_ZIP_NAME $FILE_URL +#wget -O $FILE_ZIP_NAME $FILE_URL +curl --connect-timeout 70 -m 60 -o $FILE_ZIP_NAME $FILE_URL FILE_SIZE=`du $FILE_ZIP_NAME | awk '{print $1}'` echo "下载文件[$FILE_ZIP_NAME],文件大小[$FILE_SIZE]"