Question

I am trying to upload file from my website into DOSpace

I am using https://github.com/alyahmmed/CodeIgniter-S3-Upload library to upload file from my web application to DOSpace. ut I always get false in signing. I use https://sgp1.digitaloceanspaces.com/ as endpoint and I have created API access key and secret key which I have configured.

Please help. thanks in advance


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@kpugazh

I noticed that there was an issue with the s3 url, please get latest updates and try again: https://github.com/alyahmmed/CodeIgniter-S3-Upload

@kpugazh

Looking at the library used, it looks like the last update was ~4 years ago (from what I can see on the GitHub repository). It’s possible that some of the functionality may be broken, though there is an official library provided by Amazon which can be used as a replacement.

I would recommend taking a look at:

https://github.com/awslabs/aws-sdk-php-resources

It can also be installed and managed by Composer:

https://packagist.org/packages/aws/aws-sdk-php-resources