easier for upload
This commit is contained in:
@@ -165,7 +165,7 @@ curl -fL -g --upload-file "file_to_upload.ext" \\
|
|||||||
"$MFL_ROOTURL"/upload
|
"$MFL_ROOTURL"/upload
|
||||||
|
|
||||||
# Simplified:
|
# 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
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user