Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Opening a web page directory

by elwarren (Priest)
on Apr 12, 2005 at 23:17 UTC ( #447205=note: print w/replies, xml ) Need Help??

in reply to Opening a web page directory

If your webserver is using WebDAV aka Web Folders in the Windows world, you can access the directory using the HTTP::DAV module. This is from the pod:
use HTTP::DAV; $d = new HTTP::DAV; $url = ""; $d->credentials( -user=>"pcollins",-pass =>"mypass", -url =>$url, -realm=>"DAV Realm" ); $d->open($url) or die("Couldn't open $url: " .$d->message . "\n"); #Recursively get remote my_dir/ to . $d->get("my_dir/",".");

Replies are listed 'Best First'.
Re^2: Opening a web page directory
by rhoadesjn (Novice) on Apr 13, 2005 at 14:21 UTC
    Thank you for all the responses. Those are all great ideas.

    To explain in more detail. I'm trying to access a Webfolder in Microsoft Sharepoint. I don't have permissions to the actual server...just the webfolders. I tried downloading http::dav to my local Windows XP laptop...but received the error that that the ppd was not built for my version of perl. It looks like the easiest solution is to give my IS a case a beer and get permissions to the directories on the server rather than the webfolders.

    Thanks again for all the help.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2023-03-27 05:12 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.