Download objects
You can download objects from your bucket from the Cloudflare dashboard or using the Wrangler.
- Log in to the Cloudflare dashboard ↗ and select R2.
- From the R2 page in the dashboard, locate and select your bucket.
- From your bucket's page, locate the object you want to download.
- At the end of the object's row, select the menu button and click Download.
You can download objects from a bucket, including private buckets in your account, directly.
For example, to download file.bin
from test-bucket
:
The file will be downloaded into the current working directory. You can also use the --file
flag to set a new name for the object as it is downloaded, and the --pipe
flag to pipe the download to standard output (stdout).