You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to "upload" a large object to a local R2 instance via wrangler r2 object put <obj_name>, it can fail with the error ✘ [ERROR] Error: Wrangler only supports uploading files up to 300 MiB in size. While this makes sense when pushing to a remote bucket due to API size limits, it doesn't make as much sense when in local mode.
Expected behavior
wrangler should be able to push objects above the max size limits when in local mode.
Steps to reproduce
Create wrangler project with R2 Binding.
Create/find file above 300 MB limit.
Run wrangler r2 object put BUCKET_NAME/directory/file.name -f=YOUR_FILE.name --local
I have a one-line fix on my fork, but remembered to make an issue before submitting a PR.
The text was updated successfully, but these errors were encountered:
Which Cloudflare product(s) does this pertain to?
R2, Wrangler core
What version(s) of the tool(s) are you using?
3.55.0[Wrangler]
What version of Node are you using?
22.1.0
What operating system and version are you using?
MacOS Sonoma 14.4.1
Describe the Bug
Observed behavior
When attempting to "upload" a large object to a local R2 instance via
wrangler r2 object put <obj_name>
, it can fail with the error✘ [ERROR] Error: Wrangler only supports uploading files up to 300 MiB in size
. While this makes sense when pushing to a remote bucket due to API size limits, it doesn't make as much sense when in local mode.Expected behavior
wrangler
should be able to push objects above the max size limits when in local mode.Steps to reproduce
wrangler
project with R2 Binding.wrangler r2 object put BUCKET_NAME/directory/file.name -f=YOUR_FILE.name --local
I have a one-line fix on my fork, but remembered to make an issue before submitting a PR.
The text was updated successfully, but these errors were encountered: