Update aria2-complete.sh

This commit is contained in:
tianyu 2015-08-09 10:09:45 +08:00
parent a2e38e9f0a
commit e71eee1b6d
1 changed files with 1 additions and 1 deletions

View File

@ -7,4 +7,4 @@ API_URI=https://remote.example.com/rm/
echo "$3" >>/tmp/aria2-complete.txt
FILENAME=$(basename "$3")
curl -s -v --user $USER:$PASSWORD $API_URI -X POST -d "files=$FILENAME" --capath /etc/ssl/certs/ >>/tmp/aria2.txt 2>&1
curl -s -v --user $USER:$PASSWORD $API_URI -X POST --data-urlencode "files=$FILENAME" --capath /etc/ssl/certs/ >>/tmp/aria2.txt 2>&1