Writes a value to an object in an S3 bucket.
s3Write(bucketName, objectName, value [, charset, mimeType, acl, location, accessKeyId, secretAccessKey, host, timeout])
→ returns void
fileOpen().
UTF-8lucee.s3.accesskeyid system property or environment variable.
lucee.s3.secretaccesskey system property or environment variable.
https://. Defaults to Amazon AWS.
10000bucket and object, and the secret key argument secretKey. When mimeType is omitted, detects it from the object key's extension. Doesn't list timeout.
Stores a text value under the given key.
s3Write("my-bucket", "logs/today.txt", "hello world");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.