title: TeamCity: Get a whole directory of artifacts using REST API
body: <p>Using teamcity's REST API it is possible to retrieve a single artifact by URLs of the form</p>
  
  <pre><code>http://myserver.com/httpAuth/app/rest/builds/id:85755/artifacts/files/bin/app.exe
  </code></pre>
  
  <p>How can I obtain an entire directory? The following doesn't work:</p>
  
  <pre><code>http://myserver.com/httpAuth/app/rest/builds/id:85755/artifacts/files/bin/
  </code></pre>