Uploads a local file to an S3 (or S3-compatible) bucket. The MIME type is auto-detected from the object key extension.
s3Upload(bucket, object, source [, acl, location, accessKeyId, secretKey, host])
→ returns void
Reads the local file and stores it in the bucket.
s3Upload("my-bucket", "uploads/report.pdf", expandPath("./report.pdf"));
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.