minio / minio-py

MinIO Client SDK for Python
https://docs.min.io/docs/python-client-quickstart-guide.html
Apache License 2.0
822 stars 318 forks source link

Append file content:part size 1706920 is not supported; minimum allowed 5MiB #1387

Closed kkzzhhqq closed 8 months ago

kkzzhhqq commented 8 months ago

I want to use the fput_object interface and pass in the part_size parameter to append the content of a file in the bucket. When I pass in part_size < 5MiB, an error is reported: ValueError: part size 1706920 is not supported; minimum allowed 5MiB example: client.fput_object( bucket_name="my bucket", object_name="my object name", file_path="my file path", part_size=position )

balamurugana commented 8 months ago

According to S3 specification object append is not possible.