|mattrhysdavies||-- 01-27-2010 @ 7:53 AM|
Does anyone have any experience with using Amazon S3 with ColdFusion? The idea seems great – storing all media files on a separate server with virtually unlimited scalability options. However there is very little support for CF I’ve found.
I’ve been using the “Amazon EC2/S3/SQS/SimpleDB Console” application to test in order to upload files to the server. The reason I am in the process of making the switch is because I assume the Amazon servers to be faster than my own for both upload and download; however with the app I’ve been using the flow seems to be ....
Upload file to local path
Invoke component to upload to S3
Delete file from local path
So essentially I am uploading the file twice which proves time consuming, especially as the application revolves around end users uploading their own files, with the file going off to the local path and the details (userID, filename etc etc) being stored in the database so it can be retrieved later.
Would the solution be to invoke the component to upload to s3 directly from form submission like action=”cfc.s3”, or would the solution be to stick to my own servers.
I’ve found it really difficult to find a support community for CF and S3, so hope the wonderful CF community could shed some light on my issue...
Thanks in advance.
|nmiller||-- 01-27-2010 @ 2:10 PM|
I think you're process looks correct. You can avoid the
extra time to upload to s3 by wrapping the upload/local
delete in a cfthread and just don't join the thread.
I'm not aware of a way to upload directly to s3 with a
web form unless you ran the actual upload process on a
|EasyCFM.COM ColdFusion Forums :||http://archive.easycfm.com/forums|