Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get the listing of the files hosted on a remote web server  RSS feed

 
sandeep wagh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks in advance,
Sandeep
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!