How can I upload a file to a Sharepoint Document Library using Silverlight and client web-services?

Posted by pclem12 on Stack Overflow See other posts from Stack Overflow or by pclem12
Published on 2010-03-10T19:37:38Z Indexed on 2010/03/11 21:04 UTC
Read the original article Hit count: 266

Filed under:
|
|

Most of the solutions I've come across for Sharepoint doc library uploads use the HTTP "PUT" method, but I'm having trouble finding a way to do this in Silverlight because it has restrictions on the HTTP Methods. I visited this http://msdn.microsoft.com/en-us/library/dd920295(VS.95).aspx to see how to allow PUT in my code, but I can't find how that helps you use an HTTP "PUT".

I am using client web-services, so that limits some of the Sharepoint functions available.

That leaves me with these questions:

  1. Can I do an http PUT in Silverlight?
  2. If I can't or there is another better way to upload a file, what is it?

Thanks

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about Silverlight