Well, really depends what are you after.
Not seeking for a module.
Actually i'm working on a ftp-like file browser and i wonder if the
file browsing could be possible by just querying the DB. Drupal DB has
the files but not the directories.
What i was thinking about is a {directories} table and an additional
"directory" field in {files} table in order to get the files per
directory. We should also change the file_check_directory() function
to make it insert the directories it creates to the DB.
With the current file management in drupal a file browser gets files
from DB and requires to scan all files and folders by a physical disk
access in order to get directories only. A physical disk access plus a
DB hit! I cant think of any other way.
What do you think?