The Zip Loader Applet

This applet allows the user to select a text file from a scrollable list, which will then be loaded from a zip file, allowing space to be saved on the server. Here's an example, which extracts files from a zip file on the server. The files are just scripts from the Red Dwarf TV show.
Sorry, your browser does not support Java
Note: This applet requires Java 1.1, which means that you must be using a new browser, such as Netscape Navigator 4 or Internet Explorer 4, to see it.

Download

To download the required files, click here.

Specifications

One class file is required: the 'ZipLoaderApplet.class' file.

The parameters used by the applet follow. If any parameters are omitted default values will be used.
Parameter NameTypePurpose
FILExstringThis parameter sets the name of the item which will appear in the list, and the name of the file in the zip file. The 'x' should be replaced by a number from 1 upwards. A typical value would be 'Click Here...|text.txt'. The description of the file and the filename should be separated by a '|' symbol.
ZIPARCHIVEnumberThis parameter sets the name of the main zip file, in which the files are stored.

Example HTML code

<APPLET CODE="ZipLoaderApplet.class" WIDTH=200 HEIGHT=150>
<PARAM NAME=FILE1 VALUE="Click me...|test1.txt">
<PARAM NAME=FILE2 VALUE="Item No. 2|test2.txt">
<PARAM NAME=ZIPARCHIVE VALUE="testfile.zip">
</APPLET>


Copyright © 1997. Any questions, comments or suggestions to Niall Ryan
1