Question

I am trying to upload file from my website into DOSpace

Posted June 10, 2019 783 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

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.

×
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

Submit an Answer