FileBrowser © Rolf Breuning
The HTML File Browser can be used to display directories and files in the
file space of a WWW server. It is implemented as a small server side Java
application (one class and a few methods).
The FileBrowser can also be used to perform actions on files and directories
like opening a directory window or a word processor at the WWW client side.
If the user clicks at the icon of a directory or at a file name, the FileBrowser
sends the path of this file or directory to the client by means a file
of the MIME type "application/rbh". An application registered at the client
WWW browser for files of this MIME type may read the path, translate it
to the client's file system and call the respective application.
Links to call FileBrowser functionality in an HTML page:
-
http://<servername>:<portname>/FileBrowser/<pathname>
-
Display the FileBrowser on the directory identified by <pathname>
-
http://<servername>:<portname>/RBH/<pathname>
-
Create a file of MIME type 'application/rbh', whose first and only line
contains <pathname>. Transfer the file to the client and start the client
side application registered for this MIME type.
-
<IMG SRC="http://<servername>:<portname>/.File/FileBrowser.gif">
-
Display the icon
of
the FileBrowser