SoftArtisans JFile includes two file-transfer applets:
To create an instance of the UploadClient, use HTML's <applet>
tag, as follows.
<APPLET codebase="/JFileSamples" code="softartisans.filetransfer.UploadClient.class"
height="0" width="0" mayscript archive="filetransfer.jar" name="fileupload">
Codebase
Codebase
is optional. When the Java class is in a different
directory, specify the complete relative path or URL.Code
Height
and Width
<PARAM name="UseAppletInBrowser" value=1>
If you do not set UseAppletInBrowser to 1, that is, if you display the applet in a separate window, set
Height
and Width
to 0.Mayscript
Archive
Name
Name
. Use the
name you assign to reference the UploadClient applet in script.You can manipulate the UploadClient in script using its numerous JavaScript methods, listed below.
JavaScript methods are case-sensitive. |