Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to upload #5

Closed
rahulmanjhu2 opened this issue May 27, 2022 · 2 comments
Closed

how to upload #5

rahulmanjhu2 opened this issue May 27, 2022 · 2 comments

Comments

@rahulmanjhu2
Copy link

hy there can u help me I'm new in this stuff I don't understand how to upload file larger then 300mb I checked the guide but If try to upload with guide then I have to change code every single time I upload file in r2 through Wrangler CLI if u have any suggestion to to upload file larger then 300mb then please let mr know..

@ben476
Copy link
Contributor

ben476 commented May 27, 2022

That's actually a bug in the Cloudflare Dashboard, right now it's not possible to upload files using wrangler. For now, you'll have to use something like rclone as shown here https://developers.cloudflare.com/r2/examples/rclone/

@kotx
Copy link
Owner

kotx commented May 27, 2022

Yeah, this worker only supports reading from the bucket, not writing. If you want something for writing you might want to use the S3-compatible API (w/ rclone) or maybe even ShareX-R2-Cloudflare-Workers if you're using ShareX. Not sure what the upload limit is for workers though, might be less than 300MB if it's attached to a zone.
But basically, this worker is for readonly requests only, and support for writing isn't planned.

@kotx kotx closed this as completed May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants