[Openstack] can swift create child container?

Jonathan Lu jojokururu at gmail.com
Sat Aug 31 02:10:38 UTC 2013


Hi, pangj,
     There is no sub-container in swift. Instead you can use prefix to 
save the objects, something like this:

	http://swift.example.com:8080/AUTH_user/myfiles/mydir/object_prefix/object

   If you use Cyberduck to view the container, the prefix 'object_prefix' will be show as a subfolder.

Jonathan Lu



On 2013/8/31 9:41, pangj wrote:
> I know for swift the sotrage url could be:
> http://swift.example.com:8080/AUTH_user/myfiles/myobject
>
> But if I want a subdir under the container, for example,
> http://swift.example.com:8080/AUTH_user/myfiles/mydir/myobject
>
> How will we do this?
>
> Thanks.
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list