Add link title + direct download link

This commit is contained in:
François Boulogne 2016-03-01 21:45:14 +01:00
parent 0ec5521a24
commit 43ad1d1e82

View File

@ -350,7 +350,11 @@ if [ "$1" == "send" ]; then
fi
cnt=$(( cnt + 1 ))
done)
echo "Download link:"
echo "${url}?h=$code"
echo "Direct download link:"
echo "${url}?h=$code&d=1"
echo "Delete link:"
echo "${url}?h=$code&d=$del_code"
elif [ "$1" == "get" ]; then
if [ -z "$password" ]; then