This API is quite low level, you may use the file API:
dpl_openwrite(), dpl_write(), dpl_close() to upload a file to the bucket instead.
If you want to understand how dpl_put_buffered() works then you can have a look to
how the dpl_openwrite(), dpl_write() and dpl_close() are implemented.
Vianney
Hello,
--
www.scality.com
Vianney Rancurel
+33 1 7809 8270
+33 6 7737 9967