Reads an object from an S3 bucket as a string.
s3Read(bucketName, objectName [, charset, accessKeyId, secretAccessKey, host, timeout])
→ returns string
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. Doesn't list timeout.
Reads the body of an object from a bucket.
content = s3Read("my-bucket", "logs/today.txt");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.