Reads an object from an S3 bucket as binary.
s3ReadBinary(bucketName, objectName [, accessKeyId, secretAccessKey, host, timeout])
→ returns binary
lucee.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.
Returns the raw bytes of the object.
bytes = s3ReadBinary("my-bucket", "images/photo.jpg");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.