Add AWS support to a new Lift module
Create a Lift module that supports Amazon Web Services
Leave a comment
on 2010-02-06 12:51 *
By github.importer
Imported from GitHub: http://github.com/dpp/liftweb/issues/256/find
One thing that would be cool would be some tooling to support file
uploads direct from the browser to an S3 bucket, as described here:
http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?UsingHTTPPOST.html
Not that any of this can't be done now with the existing tools, but a
standard API call that could make this a one-liner that can be dropped
into a page via a Snippet would be nice. Especially if it could tie
the AWS "success_action_redirect" policy statement to a Lift-ism along
the lines of S.redirectTo(url, function).
Not to design it here, but a call along the lines of:
def makeS3FileUploadForm(url:String, fn: => Any, secretKey:String,
policy:(String, String)*):NodeSeq
that generates the whole thing would be great.
Sean
uploads direct from the browser to an S3 bucket, as described here:
http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?UsingHTTPPOST.html
Not that any of this can't be done now with the existing tools, but a
standard API call that could make this a one-liner that can be dropped
into a page via a Snippet would be nice. Especially if it could tie
the AWS "success_action_redirect" policy statement to a Lift-ism along
the lines of S.redirectTo(url, function).
Not to design it here, but a call along the lines of:
def makeS3FileUploadForm(url:String, fn: => Any, secretKey:String,
policy:(String, String)*):NodeSeq
that generates the whole thing would be great.
Sean
on 2010-05-03 13:35 *
By jeppenejsum
I just noticed a new AWS SDK which seems to include most of the AWS services (except cloudfront) http://aws.amazon.com/sdkforjava/
on 2010-12-29 12:29 *
By maarten.koopmans
I know this stuff pretty well, can I help here?