Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Open Remote Directory

by sgifford (Prior)
on May 09, 2007 at 16:41 UTC ( [id://614444]=note: print w/replies, xml ) Need Help??


in reply to Open Remote Directory

The specific problem you're facing is that perl's opendir only works on local directories, and the more general one is that HTTP doesn't provide any standard way to get a listing of files in the directory. You will have to either parse the Web page (using something like HTML::TreeBuilder), or else access the remote directory with a different protocol (like FTP with Net:FTP, WebDAV with HTTP::DAV, or ssh with File::Remote).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found