Is it possible to upload a file to Amazon S3?
I'm researching to build an app using appcelerator, but one of the requirements is that the app uploads photos directly to Amazon S3. Is this possible and compatible with iOS and Android devices?
3 Answers
-
I think the best way to do this is by POST :
How it should be sent:
http://developer.appcelerator.com/question/8471/upload-images-to-a-server#19021How Amazon expects it:
http://docs.amazonwebservices.com/AmazonS3/2006-03-01/dev/index.html?UsingHTTPPOST.htmlAn appcelerator developer (Jennifer) seems to have done this except for compression:
https://developer.appcelerator.com/question/56181/image-compression -
POST is not the best way to do this. I investigated for my own app and could not get it to work. I then asked here in the forum whether it was possible, and confirmed that it likely is not.
I am now working on using S3's PUT object method. I'll update the other post if/when I get it to work.
-
Ted, did you ever get the Put method working for Android? Any update would be very useful.