Don't you want to list the bucket, and not a folder underneath it? Try just
directoryList("s3://mybuck/") On Sun, Nov 14, 2010 at 3:03 PM, Brook Davies <br...@logiforms.com> wrote: > > 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:339223 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm