I am trying to upload file from my website into DOSpace

June 10, 2019 117 views
DigitalOcean

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

2 Answers

@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

@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

Have another answer? Share your knowledge.