http://www.perlmonks.org?node_id=447205


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 = "http://host.org:8080/dav/"; $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.
    Jessica