Uploads a file to an S3 bucket.
s3Upload(bucketName, objectName, source [, acl, location, accessKeyId, secretAccessKey, host, timeout])
→ returns void
fileOpen().
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. Detects the MIME type from the object key's extension. Doesn't list timeout.
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.