S3?

Is anyone successfully using S3 functionality in Lucee 4.5.x? I am having
can’t find parent directory issue that seemed oft reported in Railo and has
brought me to a bit of a standstill and is wasting an enormous amount of
time.

I’ve tried setting the key and secret key in the app.cfc and locally in the
URL (MUCH preferred in my use case) and neither is working. I can post
code samples if anyone is willing to take a look. Just wanted to make sure
someone is actually using it first.

Thanks,
Bill

Hi,

What I have found is its better to manipulate as much as you can with S3 at
the OS level, as there are multiple tools for this.

You can always fall back to cfexecute to run a command line script, or
argument to change things, and then have that script in some cases create a
text file or have CF read a log and take action.On Thursday, May 14, 2015 at 7:43:27 AM UTC-4, Bill Davidson wrote:

Is anyone successfully using S3 functionality in Lucee 4.5.x? I am having
can’t find parent directory issue that seemed oft reported in Railo and has
brought me to a bit of a standstill and is wasting an enormous amount of
time.

I’ve tried setting the key and secret key in the app.cfc and locally in
the URL (MUCH preferred in my use case) and neither is working. I can post
code samples if anyone is willing to take a look. Just wanted to make sure
someone is actually using it first.

Thanks,
Bill

@Andrew - no. That is really not ideal, but I will give it a shot. I need
to be able to support multiple S3 accounts (dynamically) in my API.

Thanks for the tip.On Thu, May 14, 2015 at 9:39 AM Terry Whitney <@Terry_Whitney> wrote:

Hi,

What I have found is its better to manipulate as much as you can with S3
at the OS level, as there are multiple tools for this.

You can always fall back to cfexecute to run a command line script, or
argument to change things, and then have that script in some cases create a
text file or have CF read a log and take action.

On Thursday, May 14, 2015 at 7:43:27 AM UTC-4, Bill Davidson wrote:

Is anyone successfully using S3 functionality in Lucee 4.5.x? I am
having can’t find parent directory issue that seemed oft reported in Railo
and has brought me to a bit of a standstill and is wasting an enormous
amount of time.

I’ve tried setting the key and secret key in the app.cfc and locally in
the URL (MUCH preferred in my use case) and neither is working. I can post
code samples if anyone is willing to take a look. Just wanted to make sure
someone is actually using it first.

Thanks,
Bill


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/Et9dcwaiOg0/unsubscribe.
To unsubscribe from this group and all its topics, 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/4ceea96d-6e81-4d12-8d1d-d420a8e98ed8%40googlegroups.com
https://groups.google.com/d/msgid/lucee/4ceea96d-6e81-4d12-8d1d-d420a8e98ed8%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Hi Paul,

Yes, you are right, it could be caused by the Signature v4 as Lucee doesn’t
support this and in some S3 regions this is all that is available. There is
another way to do it, which I will share later, busy at the moment.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Member http://lucee.orgOn 14 May 2015 at 15:18, Paul Klinkenberg <@Paul_Klinkenberg> wrote:

I heard S3 is implementing a new auth mechanism, which on some data
locations is already required to use. I’m not sure if Lucee is using that
auth mechanism for it’s internals?
This is just a hunch, haven’t checked it.

Kind regards,

Paul Klinkenberg


Op 14 mei 2015 om 20:51 heeft Bill Davidson <@Bill_Davidson> het
volgende geschreven:

Hmmm. Let me see that works.

Would like to not have to do it at app CFC level, but will take what I can
get at the moment I guess. :slight_smile:

Would be wonderful if Lucee could fix this. and add SFTP. Too. (asking too
much? :wink: )

Bill
On Thu, May 14, 2015 at 12:58 PM Andrew Dixon <@Andrew_Dixon> wrote:

Hi Bill,

You can set up mappings dynamically using Application.cfc:

this.mappings[“/s3bucket”]= “s3://mybucket”;

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Member http://lucee.org

On 14 May 2015 at 11:37, Bill Davidson <@Bill_Davidson> wrote:

@Andrew - no. That is really not ideal, but I will give it a shot. I
need to be able to support multiple S3 accounts (dynamically) in my API.

Thanks for the tip.
On Thu, May 14, 2015 at 9:39 AM Terry Whitney <@Terry_Whitney> wrote:

Hi,

What I have found is its better to manipulate as much as you can with
S3 at the OS level, as there are multiple tools for this.

You can always fall back to cfexecute to run a command line script, or
argument to change things, and then have that script in some cases create a
text file or have CF read a log and take action.

On Thursday, May 14, 2015 at 7:43:27 AM UTC-4, Bill Davidson wrote:

Is anyone successfully using S3 functionality in Lucee 4.5.x? I am
having can’t find parent directory issue that seemed oft reported in Railo
and has brought me to a bit of a standstill and is wasting an enormous
amount of time.

I’ve tried setting the key and secret key in the app.cfc and locally
in the URL (MUCH preferred in my use case) and neither is working. I can
post code samples if anyone is willing to take a look. Just wanted to make
sure someone is actually using it first.

Thanks,
Bill


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/Et9dcwaiOg0/unsubscribe.
To unsubscribe from this group and all its topics, 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/4ceea96d-6e81-4d12-8d1d-d420a8e98ed8%40googlegroups.com
https://groups.google.com/d/msgid/lucee/4ceea96d-6e81-4d12-8d1d-d420a8e98ed8%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

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/CAK9nM-qrFwg5uyEHcHsDd0%2Bgoi3k44RcbjSa9z3OFqhkUEjaag%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAK9nM-qrFwg5uyEHcHsDd0%2Bgoi3k44RcbjSa9z3OFqhkUEjaag%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/Et9dcwaiOg0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAG1WijXBRAer4oWULVixc058PdAWyivD2CdtvL52JzJ_1MaC2g%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijXBRAer4oWULVixc058PdAWyivD2CdtvL52JzJ_1MaC2g%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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/CAK9nM-rgOz%2BU7QFzXO9CY8douq41OgfHe7Q9qo7-kwCb7dPcnQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAK9nM-rgOz%2BU7QFzXO9CY8douq41OgfHe7Q9qo7-kwCb7dPcnQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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/0EE29E7E-37F2-4FBE-8AF7-37B2B613B587%40ongevraagdadvies.nl
https://groups.google.com/d/msgid/lucee/0EE29E7E-37F2-4FBE-8AF7-37B2B613B587%40ongevraagdadvies.nl?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

I heard S3 is implementing a new auth mechanism, which on some data locations is already required to use. I’m not sure if Lucee is using that auth mechanism for it’s internals?
This is just a hunch, haven’t checked it.

Kind regards,

Paul Klinkenberg------------

Op 14 mei 2015 om 20:51 heeft Bill Davidson <@Bill_Davidson> het volgende geschreven:

Hmmm. Let me see that works.

Would like to not have to do it at app CFC level, but will take what I can get at the moment I guess. :slight_smile:

Would be wonderful if Lucee could fix this. and add SFTP. Too. (asking too much? :wink: )

Bill

On Thu, May 14, 2015 at 12:58 PM Andrew Dixon <@Andrew_Dixon> wrote:
Hi Bill,

You can set up mappings dynamically using Application.cfc:

this.mappings[“/s3bucket”]= “s3://mybucket”;

Kind regards,

Andrew
about.me - mso - Lucee Member

On 14 May 2015 at 11:37, Bill Davidson <@Bill_Davidson> wrote:

@Andrew - no. That is really not ideal, but I will give it a shot. I need to be able to support multiple S3 accounts (dynamically) in my API.

Thanks for the tip.

On Thu, May 14, 2015 at 9:39 AM Terry Whitney <@Terry_Whitney> wrote:
Hi,

What I have found is its better to manipulate as much as you can with S3 at the OS level, as there are multiple tools for this.

You can always fall back to cfexecute to run a command line script, or argument to change things, and then have that script in some cases create a text file or have CF read a log and take action.

On Thursday, May 14, 2015 at 7:43:27 AM UTC-4, Bill Davidson wrote:
Is anyone successfully using S3 functionality in Lucee 4.5.x? I am having can’t find parent directory issue that seemed oft reported in Railo and has brought me to a bit of a standstill and is wasting an enormous amount of time.

I’ve tried setting the key and secret key in the app.cfc and locally in the URL (MUCH preferred in my use case) and neither is working. I can post code samples if anyone is willing to take a look. Just wanted to make sure someone is actually using it first.

Thanks,
Bill


You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/Et9dcwaiOg0/unsubscribe.
To unsubscribe from this group and all its topics, 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/4ceea96d-6e81-4d12-8d1d-d420a8e98ed8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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/CAK9nM-qrFwg5uyEHcHsDd0%2Bgoi3k44RcbjSa9z3OFqhkUEjaag%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to a topic in the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/Et9dcwaiOg0/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAG1WijXBRAer4oWULVixc058PdAWyivD2CdtvL52JzJ_1MaC2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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/CAK9nM-rgOz%2BU7QFzXO9CY8douq41OgfHe7Q9qo7-kwCb7dPcnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hi Bill,

I have it working and I used mappings in the Railo and now Lucee admin to
get it working, this appears to be the most reliable way, have you tried
that?

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Member http://lucee.orgOn 14 May 2015 at 06:43, Bill Davidson <@Bill_Davidson> wrote:

Is anyone successfully using S3 functionality in Lucee 4.5.x? I am having
can’t find parent directory issue that seemed oft reported in Railo and has
brought me to a bit of a standstill and is wasting an enormous amount of
time.

I’ve tried setting the key and secret key in the app.cfc and locally in
the URL (MUCH preferred in my use case) and neither is working. I can post
code samples if anyone is willing to take a look. Just wanted to make sure
someone is actually using it first.

Thanks,
Bill


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/169c7ddf-ad0a-4488-8b9b-21b4c8a4eba6%40googlegroups.com
https://groups.google.com/d/msgid/lucee/169c7ddf-ad0a-4488-8b9b-21b4c8a4eba6%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Hi Bill,

You can set up mappings dynamically using Application.cfc:

this.mappings[“/s3bucket”]= “s3://mybucket”;

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Member http://lucee.orgOn 14 May 2015 at 11:37, Bill Davidson <@Bill_Davidson> wrote:

@Andrew - no. That is really not ideal, but I will give it a shot. I need
to be able to support multiple S3 accounts (dynamically) in my API.

Thanks for the tip.
On Thu, May 14, 2015 at 9:39 AM Terry Whitney <@Terry_Whitney> wrote:

Hi,

What I have found is its better to manipulate as much as you can with S3
at the OS level, as there are multiple tools for this.

You can always fall back to cfexecute to run a command line script, or
argument to change things, and then have that script in some cases create a
text file or have CF read a log and take action.

On Thursday, May 14, 2015 at 7:43:27 AM UTC-4, Bill Davidson wrote:

Is anyone successfully using S3 functionality in Lucee 4.5.x? I am
having can’t find parent directory issue that seemed oft reported in Railo
and has brought me to a bit of a standstill and is wasting an enormous
amount of time.

I’ve tried setting the key and secret key in the app.cfc and locally in
the URL (MUCH preferred in my use case) and neither is working. I can post
code samples if anyone is willing to take a look. Just wanted to make sure
someone is actually using it first.

Thanks,
Bill


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/Et9dcwaiOg0/unsubscribe.
To unsubscribe from this group and all its topics, 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/4ceea96d-6e81-4d12-8d1d-d420a8e98ed8%40googlegroups.com
https://groups.google.com/d/msgid/lucee/4ceea96d-6e81-4d12-8d1d-d420a8e98ed8%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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/CAK9nM-qrFwg5uyEHcHsDd0%2Bgoi3k44RcbjSa9z3OFqhkUEjaag%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAK9nM-qrFwg5uyEHcHsDd0%2Bgoi3k44RcbjSa9z3OFqhkUEjaag%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.