title: Is it Possible to upload file to SharePoint Doc libary with jquery?
body: <p>Is it Possible to upload a document to a SharePoint Document library with jquery code?</p>
  
  <p>Is there an equivalent control to asp:fileupload on client side for selecting the file?</p>
  
  <p>Here's the goal:<br/>
  1) Solution should be a code block I paste in; and not a webpart or compiled solution or App.<br/>
  2) And I don't want to use the native SharePoint file upload or editform page that comes up to set metadata.</p>
  
  <p>Create a new SharePoint aspx page that:</p>
  
  <ul>
  <li>enables users to upload selected file to specific SharePoint document library as a specific hard coded user</li>
  <li>rename the file to some random unique sequence if :</li>
  <li>the file does not already exist.</li>
  <li>the file must be a specific file type (pdf)</li>
  <li>must be able to set some metadata column values for the file</li>
  </ul>
  
  <p>These links lead me to believe it might be possible:</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/ms454491(v=office.14).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ms454491(v=office.14).aspx</a></p>
  
  <p><a href="http://blog.yahoo.com/lamung/articles/91696" rel="nofollow noreferrer">http://blog.yahoo.com/lamung/articles/91696</a></p>
  
  <p><a href="https://stackoverflow.com/questions/31868/upload-a-file-to-sharepoint-through-the-built-in-web-services">Upload a file to SharePoint through the built-in web services</a></p>
  
  <p>I will pay for a working solution. Ideally something with only client side code using web services. </p>