Deletes every object in an S3 bucket, leaving the bucket in place. With maxage, only objects older than that are deleted.
s3ClearBucket(bucketName [, maxage, accessKeyId, secretAccessKey, host, timeout])
→ returns void
lucee.s3.accesskeyid system property or environment variable.
lucee.s3.secretaccesskey system property or environment variable.
https://. Defaults to Amazon AWS.
10000bucket and the secret key argument secretKey. Doesn't list maxage or timeout.
Removes all objects from the bucket.
s3ClearBucket("my-bucket");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.