I might be wrong, but I don't think such a program would be possible, as web servers generally do not allow people access to folder listings (except when there is no default html file to display).
The only way it could work would be by 'brute force' but that would be incredibly slow and not very ethical (or possibly legal?).
__________________
|