in reply to Remote Directory listing

Thank you for your input.

As I said in the first post, I can view the directory as a standard apache index page. It will always be the same server so in theory it should always be that way.

So as I understand it, I can read that directory page with LWP::Simple get($url) and then parse it for a RegEx to get a list of the file names?

If the page contents is read in as a string using get, do I need to do something to separate it into individual lines before looking for the RegEx match?

I kind of understand the pattern matching, and have tested the pattern match with a regex calculator with the source of the directory page, and get the correct results (except there are 2 of every one) as expected.

I think I am much closer here, just not sure how to use regex to parse the string from the get($url).

Again thank you for all your help!

John