...
Note this is only supported via Gateway: see Multipart MIME POST.
curl -v -u "USER:PASSWORD" -F upload=@/tmp/myhugefile.zip -F upload=@/tmp/foo.gif "http://mydomain.example.com/mybucket/"
...
This type of upload will result in objects that are either a single object (replicated as policy.replicas
) or EC (see Working with Large Objects) depending on factors such as the file size and EC settings. Whether a file is uploaded with Transfer-encoding: chunked
can also influence how it's written.
...
This is useful for uploading large files. You "initiate" the upload then upload each part of the file, then make a "complete" request. See Multipart Write Example.
This type of upload always results in an EC object, even if the final object is smaller than the EC minimum setting.
...