-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 Upload #52
Comments
I actually have the same issue, but I am doing request from PHP. Can someone please verify, that Ruby version in Readme and the latest version of this bundle, actually can upload to S3? |
Let me look into this and reproduce this so I can debug. |
I ran into this same issue. The problem is the S3 example in the README says to use the I saw this solution (#12 (comment)) which mentions there is an alternative method called
|
Try adding |
Current documentation still uses @schleifer-john do you have time to provide a pull request fixing that one?
@Parrryy Is this something what should be added to our documentation? If so, please feel free to provide a pull request. |
I needed to use uploadBinary or else the formData seems to be concatenated to the beginning of the file. What is the use case for using |
ember-file-upload/addon/file.js Lines 277 to 282 in c2d9ae8
|
When I specify a contentType for
It seems to pass through uploadBinary, then call the regular upload method. Did something about the API change? I am stringifying the |
I've done everything like in your tutorial except your Ruby script. I've used node js aws-sdk:
So I've got signed URL
Request URL:https://f.workdoer.com.s3.amazonaws.com/IMG_4875.PNG.png?AWSAccessKeyId=AKIAIFVWPIVVIGIONPXA&Expires=1502381111&Signature=Af9meXlMA7qj5HYALs7LzhWaftc%3D&x-amz-acl=public-read
And I've got from Amazon:
Something wrong with your request, because when I put it with CURL:
curl -k -X PUT -T "IMG_4875.PNG.png" "https://f.workdoer.com.s3.amazonaws.com/IMG_4875.PNG.png?AWSAccessKeyId=AKIAIFVWPIVVIGIONPXA&Expires=1502381111&Signature=Af9meXlMA7qj5HYALs7LzhWaftc%3D&x-amz-acl=public-read"
It's successfully uploaded. What I'm doing wrong?
Here is my bucket policy:
And cors:
Thanks for any help.
The text was updated successfully, but these errors were encountered: