Moves an object to another bucket or key, by copying it and then deleting the source.
s3Move(srcBucketName, srcObjectName, trgBucketName [, trgObjectName, acl, location, 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.
10000srcBucket, srcObject, trgBucket and trgObject, and the secret key argument secretKey. Doesn't list location or timeout, so accessKeyId is the sixth argument.
Copies the object to the target and deletes the source.
s3Move("src-bucket", "reports/q3.pdf", "archive-bucket");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.