By the way this is the difference between AWS and Digital Ocean:
(upload://a73ymdb3PWJZmKws95ubRIgkdzt.png)
This is what Digital Ocean replied to me:
*I see you are creating a presigned URL to do a PUT request with, I’d recommend testing without one to see if the issue persists. In addition one caveat with Ceph (what we use to implement object storage) is that all parameters that the object is signed with also need to be sent in the request to the Space as well.
I’m happy to take an extra review, could you provide the code/configuration of the PHP file as well as the s3upload.js. I’m thinking the JS uploader is not putting the parameters of the signed URL in the PUT request.
I’d also look at the network tab at the failed request and look at the request/response headers directly (or right click and copy all as HAR content).
It may also be following up with the Wappler community further too as some clients/services are built directly for AWS s3. Ceph only replicates the behavior by following s3 specification so there can be some things that don’t work quite the same.
Let us know if the problem persists and those and as many details you can, and we can try to review and replicate this from our end further!*
I have tested with digital ocean spaces and didn’t have any issues uploading a file. I actually used it for testing by developing the module and the code is based on a tutorial from digital ocean.
What is the exact error you get from the request to digital ocean and how does the signed url look like? You may strip off the bucket part, I’m only curious to the querystring parameters.
Yes, it is working for me too!! Thank you very much.
Just last question. If I want to make a signed Download. It is ok if I put a button on the page and on click I run the server connect with signed download?
Yes, you can run the server connect on click and then on complete of the server connect you could use the browser component Go To action to trigger the actual download. Alternative you could also use the download component.