In case its a permission issue on your bucket try setting the "ACL" for 
everyone to read - better still make a test bucket and set everything on that 
bucket to read,write and full control. I use the Amazon S3 REST Wrapper by Joe 
Danziger so can't advise directly on CF9.

>Okay, I've been banging my head against this for a while. It looks so easy!
>I am trying to simply list a directories contents using CF 9.01's new S3
>integration. My application.cfc has:
>
>---------------------------------
>this.s3.accessKeyid    = 'yourmamassofat';
>this.s3.awsSecretKey   = 'howfastisshe?';
>---------------------------------
>
>And I am trying a simple:
>
>---------------------------------
>directoryList("s3://mybuck/myfolder/")
>---------------------------------
>
>I get an error 
>
>---------------------------------
>An error occurred when performing a file operation create on file
>s3://mybucket/myfolder/.
>The cause of this exception was: org.apache.commons.vfs.FileSystemException:
>Unknown message with code "S3 Error Message."..
>---------------------------------
>
>The bucket is newly created, using default permissions (which indicate that
>the owner, me, has full access). Does anyone know whats wrong with this
>picture?
>
>Note, I get the same error if I use an invalid accesskey. I've triple
>checked the key and it appears valid...
>
>Brook 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339218
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to