Is there a way similar to S3 to limit the upload size for a multipart upload client-side in R2? In A
Is there a way similar to S3 to limit the upload size for a multipart upload client-side in R2? In AWS there seems to be a way to limit the size with an IAM role, which R2 doesn't have. Maybe I'm missing an option..
My current solution is to create the multipart upload and then generating the presigned URLs something like this:
Every chunk has the FILE_CHUNK_SIZE_BYTES as the ContentLength except the last one which is the remainder of bytes.
It works but it feels clumsy.
My current solution is to create the multipart upload and then generating the presigned URLs something like this:
Every chunk has the FILE_CHUNK_SIZE_BYTES as the ContentLength except the last one which is the remainder of bytes.
It works but it feels clumsy.


