pydio-core icon indicating copy to clipboard operation
pydio-core copied to clipboard

Implement API to upload to write only workspace without credentials (anonymously)

Open github20180319 opened this issue 7 years ago • 0 comments

I have a workspace that is configured write only, anonymous writes allowed. I can upload via a browser without credentials. I can upload via the API using curl when I specify a user name and password.

However I cannot upload via the API using curl without specifying credentials.

This syntax works: curl --upload-file Logo.png --user "charles:secretpassword" --header "X-File-Name:Logo.png" https://files.pydio.com/api/v2/io/filedrop/ > /dev/null

This syntax does not work: curl --upload-file Logo.png --header "X-File-Name:Logo.png" https://files.pydio.com/api/v2/io/filedrop/ > /dev/null

So it appears I'm required to specify credentials even though the workspace allows for anonymous writes.

github20180319 avatar Mar 19 '18 11:03 github20180319