title: How to upload files using cUrl from an ASP.NET MVC3 website?
body: <p>I need to upload a file to RackSpace's Cloud Files.</p>
  
  <p>At their API page they have an example in cUrl, does anyone know how to implement that in C#?</p>
  
  <p>Any north would be much appreciated since my search is not being helpful, all I found even here were codes that looked a lot like a regular upload.</p>
  
  <p>Here's the example I need working in C#:</p>
  
  <pre><code>Upload File to Container
  curl -X PUT -T screenies/hello.jpg -D - \
  -H "ETag: 805120e285a7ed28f74024422fe3594" \
  -H "Content-Type: image/jpeg" \
  -H "X-Auth-Token: fc81aaa6-98a1-9ab0-94ba-aba9a89aa9ae" \
  -H "X-Object-Meta-Screenie: Hello World" \
  
  https://storage.clouddrive.com/v1/CF_xer7_343/
  images/hello.jpg
  
  HTTP/1.1 201 Created
  Date: Thu, 09 July 2009 17:03:36 GMT
  Server: Apache
  Content-Length: 0
  ETag: 805120e285a7ed28f74024422fe3594
  Content-Type: text/plain
  </code></pre>
  
  <p>Just to be clear, I don't want anyone to do my work for me, I just need some tutorial or north as I said.</p>
  
  <p>Thanks.</p>