Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix s3cmd put

Chris Lud5ebfd5b0cf0
diff --git a/weed/storage/needle.go b/weed/storage/needle.go
index 9d47cc5f91..5863065a95 100644
--- a/weed/storage/needle.go
+++ b/weed/storage/needle.go
@@ -66,6 +66,7 @@ func ParseUpload(r *http.Request) (
mimeType = r.Header.Get("Content-Type")
fileName = ""
data, e = ioutil.ReadAll(r.Body)
+ originalDataSize = len(data)
}
if e != nil {
return