This is more for my benefit because I always seem to have to research this over and over and over again, and I always have to dig to find out what I discovered. But if you need to programmatically upload files from a client to a SharePoint Document Library in WSS 2.0 or SharePoint Portal Server 2003, these resources may help you as well.
Best client side sample I’ve seen:
All About SharePoint : How To Upload A File To SharePoint?:
http://www.sharepointblogs.com/ssa/archive/2006/05/01/6201.aspx
(but I’m very puzzled as he’s using server side classes, which I thought can only be used in a web app…)
Erika Ehrli : How to: Magic with SharePoint 2003, uploading files using a Web service:
http://blogs.msdn.com/erikaehrli/archive/2006/05/04/SharePointUploadHelper.aspx
(note the discussion on file upload limitations)
GotDotNet User Sample: Example of how to upload a file to a SharePoint library via the FrontPage RPC protocol:
Lists Web Service (Can be used to create lists/libraries and change list properties):
http://msdn2.microsoft.com/en-us/library/aa152619.aspx
Creating a Sample Document Upload Web Service
Upload document with WebDAV (but can’t edit metadata??):
http://sqljunkies.com/WebLog/tpagel/archive/2005/12/23/17682.aspx
All About SharePoint : WS Upload Service Demo Using ASP.NET AJAX 1.0 Beta 2:
http://www.sharepointblogs.com/ssa/archive/2006/12/08/16709.aspx
GotDotNet User Sample: Simple Sharepoint Document Upload Web Service:
Blog – Programatically Load Document to SharePoint…:
(using UNC paths to copy from the client, using WebDAV)
You must log in to post a comment.