tinyscripts/getfile.sh

4 lines
122 B
Bash

login=LOGIN
password=PASSWORD
wget --header 'Authorization: Basic '$(echo $login:$password|base64) https://SERVER/PATH/$1