[Openstack] How to Create Object Folders/Directories

John Dickinson me at not.mn
Fri Aug 5 13:24:13 UTC 2011


You only need a "-H 'Content-Length: 0'" in that command and it should work. For more infor on nested virtual directories, see http://programmerthoughts.com/programming/nested-folders-in-cloud-files/

--John


On Aug 5, 2011, at 4:24 AM, 홍성희 wrote:

> Hi
> I now want to create a virtual folder.
> I would like to know how to create a folder of object.
> We want to create a folder with the curl command.
>  
> Ex )
> $ curl -k -v -X PUT -H 'Content-Type: application/directory' -H 'X-Auth-Token: AUTH_tkdab154988bb6b85c1bdac30b9'http://127.0.0.1:8080/v1/AUTH_5379288a-4749-430a-bd97-cc17c8c1cd0e/mycontainer/dir
>  
> Run in this example, but an ‘411 Length Required’ error occurred.
> Please, please. “container/bin/” allows you to create a let me know.
>  
> Hong-sung hee.
>  
> ------------------------------------ 
> Dept. of Computer Development 
> NetID Co., Ltd. 
> 280 Garden5 Life Living,
> Munjeong-dong, Songpa-gu,
> Seoul City, South Korea
> -------------------------------------
> Sung-Hee Hong / Software Developer
> -------------------------------------
> M : sheehong at net-id.co.kr
> H : +82-10-8545-1257
> T : +82-70-7525-6105
>  
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110805/9f342a3f/attachment.bin>


More information about the Openstack mailing list