diff --git a/code/templates/mfl b/code/templates/mfl index 0477fe6..bc57ee7 100755 --- a/code/templates/mfl +++ b/code/templates/mfl @@ -110,16 +110,16 @@ _write_folder() { # name, file -H "Max-Downloads: $MAXDL" \ -H "Expires-Days: $MAXDAYS" \ -H "Secret: $MFL_TOKEN" \ - "$MFL_ROOTURL"/upload + "$MFL_ROOTURL"/upload | cat } _write_file() { # name, file curl -fL -w "\n" -F file="@$2" -X POST \ - --progress-bar --verbose \ + --progress-bar \ -H "Name: $1" \ -H "Max-Downloads: $MAXDL" \ -H "Expires-Days: $MAXDAYS" \ -H "Secret: $MFL_TOKEN" \ - "$MFL_ROOTURL"/upload + "$MFL_ROOTURL"/upload | cat } _write_stdin() { # name cat - | \ @@ -129,7 +129,7 @@ _write_stdin() { # name -H "Max-Downloads: $MAXDL" \ -H "Expires-Days: $MAXDAYS" \ -H "Secret: $MFL_TOKEN" \ - "$MFL_ROOTURL"/upload + "$MFL_ROOTURL"/upload | cat } _delete() { # name