Upload from Phonegap to an Amazon S3 Bucket