Article View: borland.public.jbuilder.java.api
Article #2131Re: reading the List files from the html page
From: Nabin Thomas
Date: Mon, 28 May 2001 16:39
Date: Mon, 28 May 2001 16:39
35 lines
1991 bytes
1991 bytes
With Java you can do this.
Checkout the java.io.File.list() method
This works only for local directories (file protocol)
For a web directory You can access the listing only if the web server
supports it by giving the listing of directory when you specifiy a
directory. However web servers usually returns a file with named
index.htm from that directory usually.
Sergej Alexandrow wrote:
> Hi,
>
> Is there any possibility to list all files of the path directory
> from Java Script or Java from html page ?
>
> Thanks
> Sergej
--
***********************************
***************************************************
******************* Web Card **********************
***************************************************
Name : Nabin Thomas
e-mail : nabinthomas@hotmail.com
Web : http://nabin.terrashare.com
Feel free to contact me thru e-mail or MSN Mssenger
if required but DONOT SPAM
***************************************************
***********************************
Technical Details
Message-ID:
<3B127F2F.A74A474D@hotmail.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnewsReferences:
<3b0e7e55_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,a64d7163269c9291 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-05-28 10:18:05 PST Message-ID: <3B127F2F.A74A474D@hotmail.com> Date: Mon, 28 May 2001 22:09:11 +0530 From: Nabin Thomas <nabinthomas@hotmail.com> X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: reading the List files from the html page References: <3b0e7e55_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 202.9.167.59 X-Trace: dnews 991068891 202.9.167.59 (28 May 2001 09:54:51 -0700) Lines: 38 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews