]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - script.php
Add link title + direct download link
[jirafeau_mojo42.git] / script.php
index 620d70d157e52c6d87839d19ffb1b5f5b653acee..3e6668e36c2b56c4896188dd4cb615ffe28f8722 100644 (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

patrick-canterino.de