Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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?

— asked September 8th 2010 by Jose Padilla
  • amazons3
  • android
  • iphone

3 Answers

  • I think the best way to do this is by POST :

    How it should be sent:

    How Amazon expects it:

    An appcelerator developer (Jennifer) seems to have done this except for compression:

    — answered September 9th 2010 by Francisco Tirado
  • 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.

    — answered October 7th 2010 by Ted Haeger
  • Ted, did you ever get the Put method working for Android? Any update would be very useful.

    — answered March 7th 2012 by Thomas Arnold
    1 Comment
    • Ted, did you get it to work. please post sample code

      — commented May 22nd 2013 by sri hari
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.