From: François Boulogne Date: Tue, 1 Mar 2016 20:45:14 +0000 (+0100) Subject: Add link title + direct download link X-Git-Tag: 1.2.0~37^2^2 X-Git-Url: https://git.p6c8.net/jirafeau.git/commitdiff_plain/43ad1d1e823742663afc773d7aab1ca07a54da02 Add link title + direct download link --- diff --git a/script.php b/script.php index 620d70d..3e6668e 100644 --- a/script.php +++ b/script.php @@ -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