Date: Fri, 14 Aug 1998 21:14:20 -0700
From: David Brownell <db@Eng>
To: Ashok Banerjee <abanerje@hotmail.com>
Subject: Re: FileDialog in Applets
Ashok,
To access files on a web server you need to use some
sort of web protocol ... normally HTTP(S), sometimes
it'll be FTP. Normally, most such servers will be
configured to prevent such browsing access, but if
they allow it you'll get something like an HTML page.
Perhaps you can parse such HTML and stuff the results
into your list box, but I'd discourage that as being
too painful and not robust enough.
One can hope for servers to upgrade and offer XML based
directories, but that'll take a while to happen.
- Dave
Ashok Banerjee wrote:
>
> Hi,
> My program needs to see all the *.gif named files on the webserver in
> say a list box. The problem I am facing is that it tries to look up the
> client side files instead of server side files and gives a security
> exception. I want to avoid using CGI or socket programs. We need this to
> work at least with appletviewer bundled with 1.1.6.
> Hoping to hear from you,
> Thanking you
> Ash
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com