Bookmark Topic Watch Topic
  • New Topic

listing of the files hosted on the remote wb server  RSS feed

 
sandeep wagh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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
[ February 07, 2008: Message edited by: Bear Bibeault ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
Your starting point on learning how to do this should be understanding how to use the java.io.File class to get lists of files plus information on size, last modified date, etc.

Any process to do this will have to work with the web server security limitations so you need to find out about those too.

Bill
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!