Buckets can't be nested, you have to create separate buckets.  I use
subdomains with an "-s3" extension, typically, regardless of whether
they actually exist in DNS.  The point is that it is a namespace you
control, though DNS in particular is nice for the direct mapping.

cheers,
barneyb

On 9/20/08, Andrew Grosset <[EMAIL PROTECTED]> wrote:
> I need to create a directory (bucket) within another bucket
>
> Here is an excerpt from the cfc by Joe Danziger
>
> <!--- put the bucket via REST --->
>               <cfhttp method="PUT" 
> url="http://s3.amazonaws.com/#arguments.bucketName#";
> charset="utf-8">
>                       <cfhttpparam type="header" name="Content-Type" 
> value="text/html">
>                       <cfhttpparam type="header" name="Date" 
> value="#dateTimeString#">
>                       <cfhttpparam type="header" name="Authorization" 
> value="AWS
> #variables.accessKeyId#:#signature#">
>               </cfhttp>
>
> For example: I have an existing bucket called "mywebsite" and I want to
> create "mywebsite/andrewsPics" and then another "mywebsite/simonsPics"
>
> my thinking is that somewhere in the future I may want to track individual
> bandwidth/usage of andrewsPics or simonsPics as seperate items.
>
> Any suggestions? I tried fiddling with the cfhttp url above but to no avail.
>
> thanks, Andrew.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312863
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to