[Openstack] [OpenStack] [Swift] Is it possible to create chunked upload?

Jay Pipes jaypipes at gmail.com
Tue Aug 23 14:49:55 UTC 2016


On 08/23/2016 10:13 AM, Alexandr Porunov wrote:
> Hello,
>
> My server accepts files in chunks (4 Kbytes each chunk. File's size can
> be till 8 GB). Is it possible somehow store those chunks in Swift like a
> single file? Does somebody know any solution to solve this problem?

Yes, you can do this.

The Glance Swift driver shows an example of how to do this:

https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/swift/store.py#L829-L944

Best,
-jay




More information about the Openstack mailing list