0

我是 libcurl 和所有云技术的新手。

我需要在云中存储和检索 1024 字节对象作为对象,其中每个对象具有 2 个属性,即文件名和 id。

有人可以指导我如何解决这个问题,或者只是给我一个 C 语言的例子,以便我能够理解整个过程。

现在我什至无法弄清楚如何使用 SoftLayer 进行身份验证。

4

1 回答 1

0

Take a look at this documentation, it contains information about how to authenticate and upload files using Curl: http://sldn.softlayer.com/blog/waelriac/Managing-SoftLayer-Object-Storage-Through-REST-APIs

As you can see to work with Softlayer Object Storage you only need to execute some simple HTTP GET and Post requests. You can see examples about how to do that using libcurl here http://curl.haxx.se/libcurl/c/example.html

If you need more documentation about Softlayer object storage see: http://sldn.softlayer.com/reference/objectstorageapi

I hope it helps

Regards

于 2015-11-25T12:50:36.637 回答