uploading prints the download url

This commit is contained in:
2018-11-24 21:44:10 +02:00
parent d591fc35d9
commit 5d8afd5b4b
2 changed files with 29 additions and 8 deletions

View File

@@ -90,7 +90,6 @@ _write() {
_write_file "$NAME" "$FILE"
}
}
_url "$NAME"
}
_write_folder() { # name, file
@@ -135,7 +134,7 @@ _url() { # name
}
_upload_url() {
echo "This information is a security risk, watch where it's shared"
echo "# curl -s $FLEES_ROOTURL/script/upload/$FLEES_SHARE/$FLEES_TOKEN | bash /dev/stdin file_to_upload.ext"
echo "# python2 <( curl -s $FLEES_ROOTURL/script/upload_split/$FLEES_SHARE/$FLEES_TOKEN ) file_to_upload.ext"
exit
}
_self_url() {