Upload files
Upload files from disk to an S3 bucket
The following function can be used to upload a file on disk to an S3 bucket
When calling the function you need to pass
key
- the key ("filepath") you want the file to have in the S3 bucketfilepath
- the path on disk for the file you want to uploadbucket
- the name of the bucket
Last updated
Was this helpful?