WSS File Upload
This is a quick and dirty console application you can use to upload files to a SharePoint document library.
Cannot resolve release macro, invalid id.

I'm not proud of the code, but if you want to upload a file from a batch script or powershell script, this console app will get you there.

It's written to work against WSS 3.0 with forms based authentication. It doesn't support putting files in folders within the document library.

Example:
WSSFileUpload user=testaccount password=password1 site=http://www.mylocalbroadband.com library=shared%20documents files=c:\\test.txt;c:\\test1.txt;c:\\test2.jpg
Note: Arguments may be in any order.

Argument defaults can also be set in the .config file.
If you set the default values in the config file, you may override any or all of the values by passing them in the command call.


More Information
You may find more information available on:
My business site - http://www.MyLocalBroadband.com
My blog - http://www.Intranoggin.com

Home

Last edited Oct 1, 2008 at 12:08 AM by RyanLMiller, version 3

Comments

RyanLMiller Aug 1, 2008 at 12:09 AM 
Please use the discussion board for any comments.