Sets the metadata on bucket or object.
storeSetMetadata(url,Struct);
→ returns void
<cfscript>
mydate = #now()#;
hello = structNew();
hello.color = 'grey';
</cfscript>
<cfset dir = 's3://mycfbucket'>
<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#'>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.