Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

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

  Asked By: Dejuan    Date: Sep 30    Category: Sharepoint    Views: 4946

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.



2 Answers Found

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

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

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



Related Topics:



Related Post