Actions17
- Bucket Actions
- Object Actions
- Batch Operations Actions
Batch Operations → Download Multiple
AI-generatedSummary
Download multiple objects from a Cloudflare R2 bucket.
Inputs
- bucketName (required) — Name of the R2 bucket containing the objects.
- objectKeys (required) — One object key per line (max 1000 keys).
Output shape
An object with two keys: 'downloads' (array of file metadata) and 'binary' (object mapping cleaned filenames to download details).
Maximum 100 objects per request; returns an array wrapped in a single result object.
Examples
Example 1: Download several files from a bucket.
bucketName: my-r2-bucket\tobj1.txt\nfolder/file2.jpg\nanother/file3.pdf