<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AmazonS3.cfc Update</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2008/05/11/amazons3cfc-update/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2008/05/11/amazons3cfc-update/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/05/11/amazons3cfc-update/comment-page-1/#comment-196116</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Fri, 13 Nov 2009 07:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=392#comment-196116</guid>
		<description>pj,

I&#039;ve not actually tried this, but here is a patch from another user who needed a public ACL on resources and they use it in all their stuff successfully.  I&#039;ve only ever used protected resources, and I&#039;ve never done COPYing, so I don&#039;t really know how to help you with your specific issue, but hopefully this will get you started on the road to fixing it.

&lt;pre&gt;
86,88c86
&lt; 			contentType,
&lt; 			&#039;&#039;,
&lt; 			&#039;public-read&#039;
---
&gt; 			contentType
101d98
&lt; 			&lt;cfhttpparam type=&quot;header&quot; name=&quot;x-amz-acl&quot; value=&quot;public-read&quot; /&gt;
196,198c193,194
&lt; 		&lt;!--- &lt;cfargument name=&quot;headersList&quot; type=&quot;string&quot; default=&quot;&quot;
&lt; 					hint=&quot;NOT CURRENTLY SUPPORTED - A newline-delimited list of headers (which may NOT be &#039;folded&#039;).&quot; /&gt; ---&gt;
&lt; 		&lt;cfargument name=&quot;ACL&quot; type=&quot;string&quot; default=&quot;&quot; /&gt;
---
&gt; 		&lt;cfargument name=&quot;headersList&quot; type=&quot;string&quot; default=&quot;&quot;
&gt; 			hint=&quot;NOT CURRENTLY SUPPORTED - A newline-delimited list of headers (which may NOT be &#039;folded&#039;).&quot; /&gt;
205,209d200
&lt; 			var access = &#039;&#039;;
&lt; 			
&lt; 			if ( len(trim(ACL)) ) {
&lt; 				access = &#039;x-amz-acl:&#039; &amp; trim(ACL) &amp; chr(10);
&lt; 			}
215d205
&lt; 				&amp; access
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>pj,</p>
<p>I've not actually tried this, but here is a patch from another user who needed a public ACL on resources and they use it in all their stuff successfully.  I've only ever used protected resources, and I've never done COPYing, so I don't really know how to help you with your specific issue, but hopefully this will get you started on the road to fixing it.</p>
<pre>
86,88c86
&lt; 			contentType,
&lt; 			'',
&lt; 			'public-read'
---
&gt; 			contentType
101d98
&lt; 			&lt;cfhttpparam type="header" name="x-amz-acl" value="public-read" /&gt;
196,198c193,194
&lt; 		&lt;!--- &lt;cfargument name="headersList" type="string" default=""
&lt; 					hint="NOT CURRENTLY SUPPORTED - A newline-delimited list of headers (which may NOT be 'folded')." /&gt; ---&gt;
&lt; 		&lt;cfargument name="ACL" type="string" default="" /&gt;
---
&gt; 		&lt;cfargument name="headersList" type="string" default=""
&gt; 			hint="NOT CURRENTLY SUPPORTED - A newline-delimited list of headers (which may NOT be 'folded')." /&gt;
205,209d200
&lt; 			var access = '';
&lt;
&lt; 			if ( len(trim(ACL)) ) {
&lt; 				access = 'x-amz-acl:' &#038; trim(ACL) &#038; chr(10);
&lt; 			}
215d205
&lt; 				&#038; access
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: pj</title>
		<link>https://www.barneyb.com/barneyblog/2008/05/11/amazons3cfc-update/comment-page-1/#comment-195873</link>
		<dc:creator>pj</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=392#comment-195873</guid>
		<description>Barney I&#039;m wondering if you know how to set ACL in script on the COPY function. I&#039;m using S3.CFC and I did try adding:
: cfargument name=&quot;acl&quot; type=&quot;string&quot; required=&quot;false&quot; default=&quot;public-read&quot;
to the end of the list of arguments up front and then adding the parameter at the end:
:cfset copyObject(arguments.oldBucketName,arguments.oldFileKey,arguments.newBucketName,arguments.newFileKey,arguments.acl)
but it&#039;s not working. I can PUT the object with the arguments fine but if I rename the object (which uses copy) then there is no default open access to read the file anymore. Do you have any idea how to go about this? I&#039;m losing hair over it I think!
Best,
PJ</description>
		<content:encoded><![CDATA[<p>Barney I'm wondering if you know how to set ACL in script on the COPY function. I'm using S3.CFC and I did try adding:<br />
: cfargument name="acl" type="string" required="false" default="public-read"<br />
to the end of the list of arguments up front and then adding the parameter at the end:<br />
:cfset copyObject(arguments.oldBucketName,arguments.oldFileKey,arguments.newBucketName,arguments.newFileKey,arguments.acl)<br />
but it's not working. I can PUT the object with the arguments fine but if I rename the object (which uses copy) then there is no default open access to read the file anymore. Do you have any idea how to go about this? I'm losing hair over it I think!<br />
Best,<br />
PJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/05/11/amazons3cfc-update/comment-page-1/#comment-105030</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 14 Jul 2008 20:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=392#comment-105030</guid>
		<description>Eric,

No, there isn&#039;t a facility for listing files on S3.  My assumption was that you already know what&#039;s on S3.  I know there&#039;s another S3 integration package on riaforge.org, but I&#039;ve never used it.  There are also various command-line utilities that I&#039;ve used with great success from PHP (ick!) apps.

That being said, list functionality would be trivial to add.</description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p>No, there isn't a facility for listing files on S3.  My assumption was that you already know what's on S3.  I know there's another S3 integration package on riaforge.org, but I've never used it.  There are also various command-line utilities that I've used with great success from PHP (ick!) apps.</p>
<p>That being said, list functionality would be trivial to add.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>https://www.barneyb.com/barneyblog/2008/05/11/amazons3cfc-update/comment-page-1/#comment-105029</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 14 Jul 2008 20:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=392#comment-105029</guid>
		<description>I am starting to use S3 with my CF site. Is there anything I need to know before I try using the s3.cfc? Can I get directory listings with it? That&#039;s my main problem right now in trying to integrate with S3.</description>
		<content:encoded><![CDATA[<p>I am starting to use S3 with my CF site. Is there anything I need to know before I try using the s3.cfc? Can I get directory listings with it? That's my main problem right now in trying to integrate with S3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SitePoint Blogs &#187; The Week in ColdFusion: 7-13 May: Community and Open Source are where it&#8217;s at</title>
		<link>https://www.barneyb.com/barneyblog/2008/05/11/amazons3cfc-update/comment-page-1/#comment-88587</link>
		<dc:creator>SitePoint Blogs &#187; The Week in ColdFusion: 7-13 May: Community and Open Source are where it&#8217;s at</dc:creator>
		<pubDate>Thu, 15 May 2008 00:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=392#comment-88587</guid>
		<description>[...] Barney Boisvert has updated his Amazon S3 CFC [...]</description>
		<content:encoded><![CDATA[<p>[...] Barney Boisvert has updated his Amazon S3 CFC [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
