in reply to Re: Remote Directory listing
in thread Remote Directory listing
Which module would you suggest for reliably getting the contents of a remote directory via HTTP?
AFAIK, it is entirely up to the server and the applications running on it to decide how and if a directory is rendered at any given URL. Just because I can get a document at http://someurl.com/documents/mydoc.txt doesn't mean I can get a directory at http://someurl.com/documents/. I might. But I might just get a 403 - Forbidden, 404 - Not Found, or whatever resource the site's author intends to be served specifically at the URL.
If the OP had said that he can get a directory to render on his browser by entering http://someurl.com/documents/, then we could point him to LWP::Simple. But I think we're missing some information before we can guide him in that direction with any assurance that the advice is going to work for him.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Remote Directory listing
by tobyink (Canon) on Jul 08, 2012 at 07:53 UTC |