Results 1 to 2 of 2
  1. #1
    tarzan1234 is offline Member
    Join Date
    Feb 2009
    Posts
    6
    Rep Power
    0

    Default how to get list of files stored on url location

    Hi,
    how can i get the list of files stored on url location:
    fo example we have url as: http://site.ltd/
    and it contains the files:
    1.txt
    2.xml
    3.jpg

    now how can list the file names which are stored on this URL ?

    thanks in advanced.
    Last edited by tarzan1234; 04-30-2011 at 12:32 AM.

  2. #2
    giggs is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default

    You can write a simple script (BASH) that will run on the server. It will count and list all files in designated directories and save results in txt or html file, which you can access by http://site.ltd/file_list.html.

Similar Threads

  1. Getting the exact location of the config files
    By nn12 in forum New To Java
    Replies: 6
    Last Post: 02-13-2011, 09:31 AM
  2. Replies: 3
    Last Post: 01-18-2010, 06:13 AM
  3. List of files and directories.
    By artemff in forum CLDC and MIDP
    Replies: 6
    Last Post: 01-02-2010, 05:06 PM
  4. how to get the list of war files
    By vijayabaskar in forum Java Servlet
    Replies: 0
    Last Post: 04-03-2009, 09:39 AM
  5. How can I get list of files in a directory
    By karma in forum New To Java
    Replies: 2
    Last Post: 12-15-2007, 12:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •