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.
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.