if you mean R2's multipart upload, you could calculate the part size by dividing the total file size

if you mean R2's multipart upload, you could calculate the part size by dividing the total file size by 990 sub-requests (if you have the file length, i also don't do a 1000 to give you some leeway for other stuff ): https://developers.cloudflare.com/r2/objects/multipart-objects/
Cloudflare Docs
R2 supports S3 API's Multipart Upload with some limitations.
Was this page helpful?