1

How would I programmatically access a SharePoint document library from another machine? I want to recursively scan all the folders and generate a list of files with a certain custom property.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447

2 Answers2

4

You'll need to use the List Data Retrieval web service. Example code using the service can be found on the Query method page.

vinny
  • 1,810
  • 15
  • 21
2

Vinny is correct. I just wanted to elaborate a little on the next version of SharePoint, SharePoint 2010. There are several client based models for access that essentially wrap the web service calls. There is a managed .NET dll for Windorm/WPF applications, a library for use within websites that is JavaScript based and a Silverlight based implementation.

This MSDN article has links to more information on all three.

John Ptacek
  • 1,886
  • 1
  • 15
  • 20