Lists the objects in an S3 (or S3-compatible) bucket, optionally filtered by a key prefix. Returns an array of structs with key, size, lastModified, eTag, storageClass and isDirectory. If a key prefix is configured for the application, returned keys have the prefix stripped.
s3ListBucket(bucket [, prefix, maxKeys, accessKeyId, secretKey, host])
→ returns array
Returns objects whose keys begin with the prefix.
listing = s3ListBucket("my-bucket", "logs/");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.