<div dir="ltr"><div><div>pangj,<br><br>The object names (full "path" so to speak) are actually just keys in the key-value sense.<br><br></div>Depending on how you are accessing the objects, just make<br><br></div>

Let's say you're using python-swiftclient to post an object<br><br>Instead of<br><tt>put_object</tt><big>(</big><em>container</em>, <em>"myobject"</em>, <em>contents</em>)<br><br>Make the key/directory "mydir" come before "myobject"<br>

<tt>put_object</tt><big>(</big><em>container</em>, <em>"mydir/myobject"</em>, <em>contents</em>)<br><div><br></div><div>Ok,
 so this isn't a subcontainer. It's really just organization of your 
object blobs in directory like structure (there are no actual 
directories in swift, even if the UI you might be using presents it that
 way).<br>
<br></div>Hope this helps,<br><br>Kyle Kelley</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 8:41 PM, pangj <span dir="ltr"><<a href="mailto:pangj@laposte.net" target="_blank">pangj@laposte.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I know for swift the sotrage url could be:<br>
<a href="http://swift.example.com:8080/AUTH_user/myfiles/myobject" target="_blank">http://swift.example.com:8080/AUTH_user/myfiles/myobject</a><br>
<br>
But if I want a subdir under the container, for example,<br>
<a href="http://swift.example.com:8080/AUTH_user/myfiles/mydir/myobject" target="_blank">http://swift.example.com:8080/AUTH_user/myfiles/mydir/myobject</a><br>
<br>
How will we do this?<br>
<br>
Thanks.<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div>