The info returned by using
Net::FTP->ls() and
->dir() seems to vary depending on the FTP server. When I do a
->ls() I only get a list of the files and not the directories. If I do a
->dir() I get the results of an
ls -lR on the server, showing me all the files in the subdirs also. Sorry but I don't have a simple, portable answer for you.
--
flounder