berrberr wrote:Im guessing that there is a different command to browse a directory with an "http" path.
Eh.. sort of, in the sense that yes, you can have PHP parse the directory listing for file names, but no, you're not "browsing" the directory.
What you're doing is simply retrieving the HTML content of the directory listing (as if you were harvesting data from any other HTML page). Using regular expression syntax, you should be able to match file names (since the directory listing is presumably generated by the server, which should therefore have a stable format... hopefully).