upload_object
Upload a file to an S3 bucket from a local path or internet URL. Optionally set the S3 object key for the stored file.
Instructions
Upload a file to the connected S3 bucket. Two sources supported:
Local file: provide local_file_path (absolute path on the server).
Internet URL: provide source_url — file is downloaded then uploaded to S3. Optionally set object_key (S3 path/filename). Defaults to the source filename.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_key | No | S3 key (path + filename) to store the file as. Defaults to source filename. | |
| source_url | No | Public URL of a file to download and upload to S3. | |
| bucket_name | No | Override the connected bucket name (optional). | |
| local_file_path | No | Absolute local path of the file to upload. |