Disable multi-part upload chunked encoding? #542
-
Greetings. I'm new to Soto and have hit a roadblock trying to use it for multi-part upload of a pre-signed URL to an internally created, supposedly S3-compatible, API. Using the standard A Java client of that service uses the following to configure the client.
I'm not seeing a way to disable chunked encoding, but maybe I'm looking in the wrong place. I see the As a quick test, I modified I started down the path of duplicating large swaths of the Soto library, but that quickly turned into fighting with a bunch of Here's my current code that sets up and initiates the multipart upload:
Any pointers would be greatly appreciated. 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Ok there isn't an option to disable S3 chunked uploading at this point in time. I wouldn't be too hard to implement though. I don't know though if this is what they mean by chunked uploads, as there a number of different types of chunked upload. Given I don't know if this would resolve your issue it would be good if you could test it locally first. Here are instructions to disable S3 chunked uploads
Run your code. If this works I can easily add an option to disable it. You could even do it, if you would like to contribute. |
Beta Was this translation helpful? Give feedback.
-
@jeff-lynch soto-project/soto-core#466 With this change you would create your S3 object as follows let s3 = S3(
client: awsClient,
region: .euwest1,
options: .s3DisableChunkedUploads
) |
Beta Was this translation helpful? Give feedback.
-
v5.7.2 of SotoCore has been released with the option to disable s3 chunked uploads |
Beta Was this translation helpful? Give feedback.
v5.7.2 of SotoCore has been released with the option to disable s3 chunked uploads