Skip to content

[Feature request] Upload files with curl --upload-file (HTTP PUT) #747

Description

@MaartenUreel

I currently use transfer.sh but that does not seem to be maintained anymore so I set up a Plik instance to evaulate.

It looks very nice and feature-rich but I am looking for one more feature.

With transfer.sh I can use a curl command like:

curl --upload-file blabla.txt https://myhost

With Plik, this becomes

curl --form 'file=@blabla.txt' https://myhost

The first variant is easier to remember and write in my opinion. Is there a way to make that syntax work too?
So in essence, supporting HTTP PUT instead of only a form POST for quick (anonymous) file uploading?

I used to use https://paste.c-net.org for this but we prefer to have self-hosted solution for obvious reasons. It is very convenient to upload a file from some remote server use command line only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions