I’m trying to upload my Amazon Polly speech files to s3. They upload successfully, so no errors that I can work with but they don’t play. I have an array of objects which include lyrics which are …
Tag: amazon-s3
WooCommerce Retina Image Support – Not included in srcset
I’ve recently installed WP Retina 2x, and it generates the @2x images on my server. However, when using the PictureFill or WordPress Responsive methods, the srcset does not include any @2x images or 2x declarations: I should also mention that my media is stored on Amazon S3 using the S3 Offload Lite plugin. While the generated @2x images are getting
Amazon S3 bucket file upload : Invalid Transfer encoding header
I am trying to upload a file to S3 bucket as per this example. I have created a shell script and changed param values, when I try to execute it, following error message is returned: From the docs, it seems curl adds this header when it can’t determine the content length. I don’t know whether it’s possible to change curl
Amazon S3 presigned url – Invalidate manually or one time upload
I am using S3 to accept direct uploads from the user to S3. Therefore I will be using pre-signed urls. After successful upload, AWS Lambda will make sure that the file upload is an image, and then …
Aws PHP Sdk 3: S3::putObject(): AWS HTTP error: cURL error 6: Couldn’t resolve host ‘s3.Ireland.amazonaws.com’
I’m trying to upload an image to an S3 bucket using the version 3 of the SDK, but I receive the following error: Error executing “PutObject” on “https://s3.Ireland.amazonaws.com/my-bucket-name/…
Laravel 5.1 – how to download pdf file from S3 bucket
I am using Laravel’s Storage facade and I am able to upload the pdf to S3 and I am also able to get() its contents but I cannot display or download it to the end user as an actual pdf file. It just …
cURL redirect request to amazon s3 returns 400 code
Using PHP curl to fetch a release tag file from github. Github responds with a redirect header to S3 which cURL does follow. For example: Results in a 302 with a location header to s3 with various authentication details Following the redirect location header, Amazon responds with 400 Request specific response headers cannot be used for anonymous GET requests. As
How to upload pic to Amazon s3 bucket and subfolder and display using php foreach
I am using the code here: http://net.tutsplus.com/tutorials/php/how-to-use-amazon-s3-php-to-dynamically-store-and-manage-files-with-ease/ …to create a bucket and subdirectories for users who upload pics for personal use when logged in. After uploading the pics successfully to the s3 server, they are displayed in the html file in a list as such: For some reason, the subfolder is getting recognized as a file inside the bucket and
s3 direct upload restricting file size and type
A newbie question but I have googled abit and can’t seem to find any solution. I want to allow users to directly upload files to S3, not via my server first. By doing so, is there any way the files can be checked for size limit and permitted types before actually uploading to S3? Preferably not to use flash but