Hello to all, I want to upload files from my dot net web application to Digital Ocean Space. I didnt found dot net sdk of DO Space so I used Amazone S3 SDK to upload files. But during upload, it throws error saying -> Access Key not found. Is there own digital ocean SDK for SPACE? Can we achieve this without use of Amazon SDK? Please help. Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
Generally speaking the AWS SDK sould work as expected. There are a few examples but for different languages here:
https://docs.digitalocean.com/products/spaces/resources/s3-sdk-examples/
You need to pass the credentials as follows:
Can you share the code snippet that you are using?
If you don’t want to use an SDK, you can just make an API call via HTTP as shown in this curl example here:
https://docs.digitalocean.com/reference/api/spaces-api/#hello-world-program
But this means that you would need to take care of the error handling and etc. manually.
Best,
Bobby