On 25/07/15 00:28, Vincenzo Pii wrote: > To upload a Dynamic Large Object with the Swift CLI one can just do > > swift upload newcont -S 1048576000 large_object > > but, is there any equivalent in the swift python APIs (swiftclient module > from https://github.com/openstack/python-swiftclient)? > > The content_length parameter of put_object will just truncate the content... > The general approach is outlined here (Swift API section): https://www.mirantis.com/blog/large-objects-in-cloud-storages/ I have attached a rather simple sample program that uses the idea. regards Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: swiftclient-big.py Type: text/x-python Size: 2320 bytes Desc: not available URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150729/6af391a1/attachment.py>