easier for upload

This commit is contained in:
q
2025-04-07 18:54:18 +03:00
parent 7716ef847f
commit fb5ce59582

View File

@@ -165,7 +165,7 @@ 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
FN=file_to_upload.ext; curl -fL -g --upload-file "\$FN" -H "Name: \$( basename "\$FN" )" -H "Token: $token" "$MFL_ROOTURL"/upload
EOF
}