Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

listing of the files hosted on the remote wb server

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
duplicate post
 
    Bookmark Topic Watch Topic
  • New Topic