How to get the listing of the files hosted on a remote web server
posted 9 years ago
Hi, I want to get the listing of the files hosted on the remote web server and then apply a filtering mechanism on the basis of some logic to those files and let the users download them. Can Somebody help me get a way to do this. The file format is html and i will also need a file size with the file information. Just to be explicit i would like to mention that the file are available over http from the web application.
By convention, requesting a URL that is a directory or index.html (if that file doesn't exist) will return a directory listing. Most web servers have this functionality turned off as it is considered a security risk.