[ColdBox 3.6.0 - AmazonS3 module] Cannot get list of files and folder in bucket

I’m using amazonS3 explorer module.

When I access to my S3 storage, I get the bucket name, but folder and file inside couldn’t be retrieved.

Also if I create a folder on with the module, on S3 I see a “myfolder_$folder$”…Is this normal?

I suppose I could create folder and file normally, and I could retrieve all my data with this module…

Hmm, something might be wrong with your setup, what engine you using?

I just tried it and cannot replicate your issues.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

I’m using railo 4.

What setting should I care? I’ve tested amazonS3 explorer also on coldfusion 10 and breaks when it try to parse xml on “://Bucket” line.

I’ve set up my s3 key properly and I could retrieve a bucket, but cannot list files or folder.

That is really weird Mark, I just tested this in

CodlFusion 9.02
Railo 4

Ok, there, It blows up on ColdFusion 10. I will investigate it, but it seems something is different between cf9 and cf10 with xml search.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Ok Mark

Cf10 uses xpath2.0 so it means that it broke it. I just updated it and pushed it.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

signature0.jpg

Wow…you are great man!!!

I will test and let you know if I solved my issues.

Now works great on Coldfusion 10, but got same problem on railo4.

I cannot say if railo has some setting that could break this plugin. I have all default settings in a fresh install, I have created a simple coldbox app with only s3 module loaded.

I have this setting in coldbox.cfc

`

interceptors = [
//SES
{class=“coldbox.system.interceptors.SES”}
];

//WireBox Integration
wireBox = {
enabled = true
};

// Custom settings
settings = {
s3_accessKey = “mykey”,
s3_secretKey = “mysecret”,
s3_ssl = false,
s3_tempUploadDirectory = expandPath("/includes/_tmp"),

};

`

What kind of problems are you having? Can you give us an error message or stack trace?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I cannot get list of folder and files in my bucket.

This is on my coldbox app:

When I create folder, in s3 is uploaded a file named “myfolder_$folder$”. If I upload a file I could retrieve it, but I cannot get the file thar are already on s3…