Upload PDF file to AWS S3 bucket?
Has anyone successfully attempted to upload a PDF file to AWS S3 bucket? Tried many ways like using AWS SDK for JS library or using AWS S4 Signature but it doesn’t work.
I used this library for AWS SDK for JS: ‘https://sdk.amazonaws.com/js/aws-sdk-2.1033.0.min.js’
Saved it as JS file and upload it to File Cabinet and reference that in my script. But always getting a statusCode: 40x response.
Update – Upload works now. But when viewing directly from the bucket, the PDF are not readable. I tried to download the file and open it via Preview but still not readable.



