Writing files to Amazon S3

Are you aware that “Everyone” literally means everyone with an AWS account?
Do you intend for other people to be able to upload anything they want to
your bucket?On 4 Sep 2015 12:17 pm, “Simon Goldschmidt” <@Simon_Goldschmidt> wrote:

The process of writing a file to Amazon S3 appears very simple, but I
haven’t been able to make it work. Hope someone can point out where I’m
going wrong writing a file to an S3 bucket.

I’m using a new bucket in the Sydney region where Everyone has List and
Upload/Delete permissions. I’m using the credentials for an IAM account
that is in the Admin group. I have set variables for the access key, secret
code and bucket name.

The line:
<cfset files = directoryList(“s3://#access-key#:#secret-code#@
s3-ap-southeast-2.amazonaws.com/#bucket-name#
http://s3-ap-southeast-2.amazonaws.com/#bucket-name%23”)>
returns the error “directory […directory above…] doesn’t exist”

And the line:

returns the error “Parent directory for […file above…] doesn’t exist”

Have I missed something? Lucee 4.5.1.023 with Tomcat 7 and Java 1.8 on
Windows 8.1

Simon


See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/98d26a5a-ef13-4fa5-be9f-c00fdb918b16%40googlegroups.com
https://groups.google.com/d/msgid/lucee/98d26a5a-ef13-4fa5-be9f-c00fdb918b16%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.