title: Upload a file on a Sharepoint website through c#
body: <p>I've a file library on a sharepoint 2010. I'm using the Sharepoint library and I want to upload a file.</p>
  
  <p>I found a lot of example about this, the problem is that I've some additional fields in the sharepoint file library, and I don't see how to specify them.</p>
  
  <p>Here is one of the example I saw: <a href="http://msdn.microsoft.com/en-us/library/ms454491.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms454491.aspx</a></p>
  
  <p>One of these fields is mandatory so I've to set it when I add a file.</p>
  
  <p>How can I do this?</p>
  
  <p>Thank you!</p>