<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12pt">hi Kuo,<br><br>curl command are also giving the same result.<br><br>Below are the steps which I follow with output:<br>-------------<br>


        
        
        
        <style type="text/css">P { margin-bottom: 0.21cm; }</style>1. get account detail<br>root@swift-VirtualBox:~# curl -v -H
'X-Auth-Token: AUTH_tk5525a1165f6f40268df460e09b9ba64b'
http://127.0.0.1:8080/v1/AUTH_prag2648

<div style="margin-bottom: 0cm"><br></div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;">* About to connect() to 127.0.0.1 port
8080 (#0)
</div>
<div style="margin-bottom: 0cm">*   Trying 127.0.0.1... connected
</div>
<div style="margin-bottom: 0cm">> GET /v1/AUTH_prag2648 HTTP/1.1
</div>
<div style="margin-bottom: 0cm">> User-Agent: curl/7.22.0
(i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4
libidn/1.23 librtmp/2.3
</div>
<div style="margin-bottom: 0cm">> Host: 127.0.0.1:8080
</div>
<div style="margin-bottom: 0cm">> Accept: */*
</div>
<div style="margin-bottom: 0cm">> X-Auth-Token:
AUTH_tk5525a1165f6f40268df460e09b9ba64b
</div>
<div style="margin-bottom: 0cm">> 
</div>
<div style="margin-bottom: 0cm">< HTTP/1.1 200 OK
</div>
<div style="margin-bottom: 0cm">< Content-Length: 9
</div>
<div style="margin-bottom: 0cm">< Accept-Ranges: bytes
</div>
<div style="margin-bottom: 0cm">< X-Timestamp: 1387439464.98376
</div>
<div style="margin-bottom: 0cm">< X-Account-Bytes-Used: 0
</div>
<div style="margin-bottom: 0cm">< X-Account-Container-Count: 1
</div>
<div style="margin-bottom: 0cm">< Content-Type: text/plain;
charset=utf-8
</div>
<div style="margin-bottom: 0cm">< X-Account-Object-Count: 0
</div>
<div style="margin-bottom: 0cm">< X-Trans-Id:
txd554a374c5b540529137d-0052f9a2d5
</div>
<div style="margin-bottom: 0cm">< Date: Tue, 11 Feb 2014 04:11:01
GMT
</div>
<div style="margin-bottom: 0cm">< 
</div>
<div style="margin-bottom: 0cm">minerals
</div>
<div style="margin-bottom: 0cm">* Connection #0 to host 127.0.0.1 left
intact
</div>
<div style="margin-bottom: 0cm">* Closing connection #0
</div><br>2. get container detail<br>root@swift-VirtualBox:~# 
curl -X GET
-i -H 'X-Auth-Token: AUTH_tk5525a1165f6f40268df460e09b9ba64b'
http://127.0.0.1:8080/v1/AUTH_prag2648/minerals

<div style="margin-bottom: 0cm"><br></div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;">HTTP/1.1 200 OK
</div>
<div style="margin-bottom: 0cm">Content-Length: 49
</div>
<div style="margin-bottom: 0cm">X-Container-Object-Count: 1
</div>
<div style="margin-bottom: 0cm">Accept-Ranges: bytes
</div>
<div style="margin-bottom: 0cm">X-Timestamp: 1387439465.02723
</div>
<div style="margin-bottom: 0cm">X-Container-Bytes-Used: 22572
</div>
<div style="margin-bottom: 0cm">Content-Type: text/plain;
charset=utf-8
</div>
<div style="margin-bottom: 0cm">X-Trans-Id:
txb2459f1c5d174f5e9eb30-0052f9a565
</div>
<div style="margin-bottom: 0cm">Date: Tue, 11 Feb 2014 04:21:57 GMT
</div>
<div style="margin-bottom: 0cm">
</div>
<div style="margin-bottom: 0cm">home/swift/Desktop/swift_installation_steps.docx
</div><br>3. retrieve object<br>root@swift-VirtualBox:~# curl -X GET -i
-H 'X-Auth-Token: AUTH_tk5525a1165f6f40268df460e09b9ba64b'
http://127.0.0.1:8080/v1/AUTH_prag2648/minerals/home/swift/Desktop/swift_installation_steps.docx

<div style="margin-bottom: 0cm"><br></div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;">HTTP/1.1 404 Not Found
</div>
<div style="margin-bottom: 0cm">Content-Length: 70
</div>
<div style="margin-bottom: 0cm">Content-Type: text/html; charset=UTF-8
</div>
<div style="margin-bottom: 0cm">X-Trans-Id:
txe1abfb8ec917421488fa3-0052f9a5a3
</div>
<div style="margin-bottom: 0cm">Date: Tue, 11 Feb 2014 04:22:59 GMT
</div>
<div style="margin-bottom: 0cm">
</div>
<div style="margin-bottom: 0cm"><html><h1>Not
Found</h1><p>The resource could not be
found.</p></html>root@swift-VirtualBox:~# 
</div>
<div style="margin-bottom: 0cm">------------<br></div><div style="margin-bottom: 0cm">account detail shows object count = 0</div><div style="margin-bottom: 0cm">container detail shows object count = 1</div><div style="margin-bottom: 0cm">retrieve object shows 'resource could not be
found'</div><div style="margin-bottom: 0cm"><br></div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;">I can't analyse where is the actual problem.</div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;"><br></div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif; background-color: transparent; font-style: normal;">Pragya jain<br>
</div>

<br><div><span><br></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, 10 February 2014 2:57 PM, Kuo Hugo <tonytkdk@gmail.com> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div class="y_msg_container"><div id="yiv7471897991"><div><div dir="ltr">It's woking on my box. <div>Perhaps you can give a try with curl command. </div></div><div class="yiv7471897991gmail_extra"><br clear="none"><br clear="none"><div class="yiv7471897991gmail_quote">2014-02-10 15:25 GMT+08:00 pragya jain <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:prag_2648@yahoo.co.in"
 target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span>:<br clear="none">
<blockquote class="yiv7471897991gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv7471897991yqt5657370575" id="yiv7471897991yqt41891"><div><div style="font-size:12pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;"><div>
hi all,</div><div><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">i create an account in swift.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">
status of account shows that there is a container and zero objects in the account.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">
when I list the container, it shows an object in it.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">But whenI am downloading the object, it shows object not found.</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;"><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">
Below are the steps which I follow:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">----------<br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">
root@swift-VirtualBox:~# export ST_AUTH=<a rel="nofollow" shape="rect" target="_blank"  href="http://127.0.0.1:8080/auth/v1.0">http://127.0.0.1:8080/auth/v1.0</a><br clear="none">root@swift-VirtualBox:~# export ST_USER=prag2648:pragya<br clear="none">root@swift-VirtualBox:~# export ST_KEY=pj2648<br clear="none">
root@swift-VirtualBox:~# swift stat<br clear="none">       Account: AUTH_prag2648<br clear="none">    Containers: 1<br clear="none">       Objects: 0<br clear="none">         Bytes: 0<br clear="none"> Accept-Ranges: bytes<br clear="none">   X-Timestamp: 1387439464.98256<br clear="none">    X-Trans-Id: tx07ace110079247cfa7e27-0052f8762d<br clear="none">
  Content-Type: text/plain; charset=utf-8<br clear="none">root@swift-VirtualBox:~# swift list<br clear="none">minerals<br clear="none">root@swift-VirtualBox:~# swift list minerals<br clear="none">home/swift/Desktop/swift_installation_steps.docx<br clear="none">root@swift-VirtualBox:~# swift download minerals home/swift/Desktop/swift_installation_steps.docx<br clear="none">
Object
 'minerals/home/swift/Desktop/swift_installation_steps.docx' not found</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">
-----------</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;"><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">
Please help me in finding where is the problem.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;"><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">
Thanks <br clear="none"></div><span class="yiv7471897991HOEnZb"><font color="#888888"></font></span><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;">Pragya Jain<br clear="none">
</div></div></div></div><br clear="none">_______________________________________________<br clear="none">
Mailing list: <a rel="nofollow" shape="rect" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
Post to     : <a rel="nofollow" shape="rect" ymailto="mailto:openstack@lists.openstack.org" target="_blank" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br clear="none">
Unsubscribe : <a rel="nofollow" shape="rect" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div> </blockquote>  </div> </div>   </div> </div></body></html>