You can't use this and expect to reference it as application in your code.
Regards, Andrew Scott http://www.andyscott.id.au/ > -----Original Message----- > From: Brook Davies [mailto:br...@logiforms.com] > Sent: Monday, 15 November 2010 8:03 AM > To: cf-talk > Subject: CF 9.01 S3:// not working > > > 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:339210 > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: http://www.houseoffusion.com/groups/cf- > talk/unsubscribe.cfm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:339211 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm