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 : sheeh...@net-id.co.kr > H : +82-10-8545-1257 > T : +82-70-7525-6105 > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp