Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

SharePoint automation

by jdporter (Chancellor)
on Feb 01, 2006 at 21:53 UTC ( #527182=perlquestion: print w/replies, xml ) Need Help??

jdporter has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone have any experience scripting SharePoint? I want/need to import whole directory structures full of documents into my SharePoint site. I understand that WebDAV is probably the protocol to use; if so, then HTTP::DAV could be useful. But if anyone has any more info that could help get me started, or even sample code for talking to SharePoint, that would be very helpful.

We're building the house of the future together.

Replies are listed 'Best First'.
Re: SharePoint automation
by NetWallah (Canon) on Feb 02, 2006 at 02:57 UTC
    This is probably easier than you think. Why script it ? Does this need to be done repeatedly ?

    If I remember right, I was able to open my Sharepoint "document library" ine "Explorer" mode, and drag a file structure into it. YMMV.

    I also find documents on the web allowing you direct access into Sharepoint's SQL database, where everything is a list. so, DBI may be a candidate approach . Hmmm : it would be a great idea to come up with a DBI::Sharepoint module.

         "For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken

Re: SharePoint automation
by roboticus (Chancellor) on Mar 06, 2008 at 20:20 UTC

    I just got out of a meeting where I learned that I'll have to be publishing some reports to SharePoint. So I did a little googling, and found that under Windows, you can access a sharepoint site via a UNC name. The URL:


    is accessible via:


    So if you're running your code on a Windows client, you may be able to just treat it as another directory. (That's what I'm planning on doing.)


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://527182]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-12-07 04:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found