remove maintenance prints, better mfl upload function

This commit is contained in:
q
2025-11-21 22:49:39 +02:00
parent 6bb6941287
commit 0cfaaaf9dd
3 changed files with 12 additions and 6 deletions

View File

@@ -165,7 +165,11 @@ curl -fL -g --upload-file "file_to_upload.ext" \\
"$MFL_ROOTURL"/upload
# Simplified:
FN=file_to_upload.ext; curl -fL -g --upload-file "\$FN" -H "Name: \$( basename "\$FN" )" -H "Token: $token" "$MFL_ROOTURL"/upload
function $SELF-upload() {
local TOKEN="$1";
local FN="$2";
curl -fL -g --upload-file "\$FN" -H "Name: \$( basename "\$FN" )" -H "Token: \$TOKEN" "$MFL_ROOTURL"/upload
}
EOF
}