Uploading files with code in WSS 2.0

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:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=5451793d-288c-4fed-8e79-6c44ab0550e2

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

http://msdn2.microsoft.com/en-us/library/ms916810.aspx#odc_writingcustomwebservicesforsppt_creatingadocumentuploadwebservice

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:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=DF4FA28A-A618-4E5B-822A-14160538279B

Blog – Programatically Load Document to SharePoint…:

http://web.andrewcorley.com/Lists/Blog/DispForm.aspx?ID=7&Source=http://web.andrewcorley.com/default.aspx

(using UNC paths to copy from the client, using WebDAV)

Eric Legault

Full-stack product builder & consultant for Microsoft 365 & Graph. Microsoft MVP 2003 - 2019. Outlook add-in guru. Rocker. Video/audio engineer. Collects Thors.

You may also like...

%d bloggers like this: