Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Web Service for adding a file/document to a document library

  Asked By: Dejuan Solomon         Date: Sep 30, 2007      Category: Sharepoint      Views: 681
 

I am looking for a SharePoint web service to add a file/document
to a document library, however, I cannot find one that is provided by
SharePoint. I checked list.asmx, but it does not have one, there is
AddAttachment but there is no AddFile.
I can write a custom web service in SharePoint to do this but I do not
want to reinvent the wheel if there is one provided by SharePoint.

Tagged:                

 

2 Answers Found

 
Answer #1       Answered By: Donte Jefferson          Answered On: Sep 30, 2007       

There isn't an OOTB web  service to do this, and it's by design. Web
Services are not well suited for transferring large files, which is why
one or more of FP-RPC, WSS-RPC, WebDAV, and HTTP PUT/POST are used
instead for the various MOSS/WSS clients. I'd suggest you look at using
one of those methods instead (FP-RPC and WebDav are usually best), as
they are all HTTP based and will be faster/better/more reliable than a
Web Service.

 
Answer #2       Answered By: Beau Pena          Answered On: Sep 30, 2007       

I have a few WSS v2 upload programs that should upgrade fairly easily...

www.schaeflein.net/blog/SearchView.aspx?q=upload

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].