R2 multipart upload failing with FileZilla Pro

This is a followup to https://community.cloudflare.com/t/cloudflare-r2-doesnt-support-listparts-operation/449580

When uploading a file using multipart upload, R2 fails with this error when calling CompleteMultipartUpload https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html:

All non-trailing parts must have the same length

This is not one of the error codes described in the CompleteMultipartUpload page.

This is an excerpt of FileZilla Pro log:

2023-09-27 10:13:36 36025 2 Command: POST /boost_1_83_0.7z?uploadId=AFd5QVFmfkChR0msQ90qq6wr-AQGQwq_FT-KlpKMhp5IOtLGnwurDCjl73wwRc2UclNYXNZvjQLnjy-lblMt0bzl4C3kf_vH2xDKRqeYaIccn3IHIYn5TJ4bRZfshlLeUJTkaWgy2z-sIGoyZ1qI0X9UL9V8RdzFAnn6G662PCa5MStYl3oNIxXOCphnSeYz6DrJfZIK9TDyf-4g1bDF7NCarUAMeJ6QsxaWOw-mrBLwIT7u3-XybdomKoqveC-qVuRImV9X6Z9SpLReJGNd_QkxQOkhRNkmFfa7bpbmwf-izr_Savs8zSQ05znvaABTQiPDDeGA3Ria-sjsOKkF03Y HTTP/1.1
2023-09-27 10:13:36 36025 2 Command: Authorization: *****************************************************************************************************************************************************************************************************************************************
2023-09-27 10:13:36 36025 2 Command: Connection: keep-alive
2023-09-27 10:13:36 36025 2 Command: Content-Length: 476
2023-09-27 10:13:36 36025 2 Command: Content-MD5: +ZNLZ8/AMOcnQRymiKCdAw==
2023-09-27 10:13:36 36025 2 Command: Host: tioiestasmiasitelo.7651fe1bdc510bd91c08491903ad667d.r2.cloudflarestorage.com
2023-09-27 10:13:36 36025 2 Command: Keep-Alive: 300
2023-09-27 10:13:36 36025 2 Command: User-Agent: FileZilla/3.65.2
2023-09-27 10:13:36 36025 2 Command: x-amz-content-sha256: 81faf3143cea65abba6dcb0c750d6fe9d8511c1a6f34e7c26a98ce6662e37e41
2023-09-27 10:13:36 36025 2 Command: x-amz-date: 20230927T131336Z
2023-09-27 10:13:36 36025 2 Response: HTTP/1.1 400 Bad Request
2023-09-27 10:13:36 36025 2 Response: Date: Wed, 27 Sep 2023 13:13:36 GMT
2023-09-27 10:13:36 36025 2 Response: Content-Type: application/xml
2023-09-27 10:13:36 36025 2 Response: Content-Length: 145
2023-09-27 10:13:36 36025 2 Response: Connection: keep-alive
2023-09-27 10:13:36 36025 2 Response: Server: cloudflare
2023-09-27 10:13:36 36025 2 Response: CF-RAY: 80d40141cd975686-CWB
2023-09-27 10:13:36 36025 2 Response: All non-trailing parts must have the same length.

I don’t see any documentation on R2 in Filezilla’s docs. They have docs for B2, so that must be well-supported by Filezilla. I prefer Transmit on the Mac, but can’t use it for R2, as it’s not (yet) supported by Transmit. So I use Cyberduck, which officially supports R2.

I suggest you reach out to Filezilla to find out of R2 is fully supported.

1 Like

I’m part of FileZilla Pro development team.

FileZilla Pro supports S3 and S3-compatible storage. However, R2 is not S3-compatible.

2 Likes

How did you do?

Cloudflare has also a very active discord, so maybe better to try ask these kind of questions there