<?xml version="1.0" encoding="windows-1252"?>
<node id="447205" title="Re: Opening a web page directory" created="2005-04-12 19:17:21" updated="2005-07-28 13:46:24">
<type id="11">
note</type>
<author id="10795">
elwarren</author>
<data>
<field name="doctext">
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:
&lt;code&gt;
use HTTP::DAV;
  
$d = new HTTP::DAV;
$url = "http://host.org:8080/dav/";
  
$d-&gt;credentials( -user=&gt;"pcollins",-pass =&gt;"mypass", 
                 -url =&gt;$url,      -realm=&gt;"DAV Realm" );
$d-&gt;open($url) or die("Couldn't open $url: " .$d-&gt;message . "\n");
#Recursively get remote my_dir/ to .
$d-&gt;get("my_dir/",".");

&lt;/code&gt;</field>
<field name="root_node">
447180</field>
<field name="parent_node">
447180</field>
</data>
</node>
