Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Opening a web page directory

by elwarren (Curate)
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
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 cooling their heels in the Monastery: (7)
As of 2016-10-22 12:50 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.