Adobe COLDFUSION 9 Manual page 266

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Developing CFML Applications
The following are the supported functions:
FileIsEOF
FileReadBinary
Filecopy
FileReadLine
FileExists
FileWriteln
FileOpen
FileClose
FileRead
FileDelete
New attributes in cfdirectory action="create" tag
Attribute Added Description
Used to change the location of the created bucket. The
storeLocation
location can either be
storeACL
An array of struct where each struct represents a permission or
grant as discussed in "ACLObject" on page 262.
Setting up access control
Amazon S3 lets you set access control list (ACL) for buckets and objects. The ACLs for buckets and objects are
independent. You have to manage them separately. Also, object ACLs do not inherit from the bucket ACLs.
ACL consists of multiple Grants where each grant has a grantee and a permission. S3 allows three types of grantees:
• group
• email
• canonical (ID)
The following are the possible permissions:
• read
• write
• read_acp
• write_acp
• full_control
See
Amazon S3 ACL Documentation
or
. The default location is
EU
US
US
for more details.
Last updated 8/5/2010
Example
<cfdirectory action="create"
directory="s3://<bucketname>"
.
storelocation="US">
<cfdirectory action="create"
directory="s3://<bucketname>"
storelocation="EU">
<cfdirectory action="create"
directory="s3://<bucketname>"
storeACL="ACLObject">
261

Advertisement

Table of Contents
loading

Table of Contents