StoreSetMetadata(url,Struct) |
Parameter |
Description |
---|---|
url |
Amazon S3 URLs (bucket or object). |
struct |
Represents the metadata. See Standard keys (in this page) for a list of standard keys in metadata.You can also have custom metadata apart from the standard ones. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | < cfscript > mydate = # Now ()#; hello = structNew (); hello.color = "grey" ; </ cfscript > < cffile action= "write" file= "#dir#/hello5.txt" output= "Sample s3 text" > < cfset StoreSetMetadata( "#dir#/hello5.txt" , "#hello#" )> < cfset test = StoreGetMetadata( "#dir#/hello5.txt" )> < cfdump var= "#test#" > |