From b6ae2cea5d7ae021f5996289ae877d18d1d5b763 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Tue, 7 May 2024 14:29:51 +0200 Subject: [PATCH] use wget instead of curl to get file --- getfile.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/getfile.sh b/getfile.sh index 7b58903..9d33596 100644 --- a/getfile.sh +++ b/getfile.sh @@ -1,2 +1,3 @@ -tce-load -i libzstd -curl -u LOGIN:PASSWORD https://SERVER/PATH/$1 +login=LOGIN +password=PASSWORD +wget --header 'Authorization: Basic '$(echo $login:$password|base64) https://SERVER/PATH/$1