-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 29/07/15 17:01, John Dickinson wrote:
> You can also use swiftclient.service module. It is the wrapper on
> top of the low-level swiftclient.client that is actually what the
> CLI tool uses for some of its higher-order functions (like
> splitting larger local files and making manifest objects).
>
> You'd have something like:
>
> results = swiftclient.service.upload('target_container',
> ['path/to/local/file',], options={'segment_size': 1048576000})
>
>
That is tidier than having to seek around in the file dicing it
yourself :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlW4ZOsACgkQp/74+1I8UiZjpgCfdpILGu2POP01j/zctxPfUQAK
OY4An1ClQRYcddHRczUhVkTM1KK9MSVu
=k6mI
-----END PGP SIGNATURE-----
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack