logo


Installation - MyFTPUploader
General
Depending on the version and edition you are using you need to change the name of the jar file in the following examples. See for the correct file name the zip file you have bought or downloaded.

Example 1
This is the standard configuration. The applet tag is given with 'successURL' param tag. After a successful upload you will be redirected to the successURL. The file myftpuploader-standard-signed-1.6.jar is located in the same directory as the html-file.

<applet name="MyFTPUploader" 
     code="com.javaatwork.myftpuploader.MyFTPUploader.class" 
     archive="myftpuploader-standard-signed-1.6.jar, labels.jar" 
     width="400"  height="250">
        <param name="successURL" value="http://www.mycompany.com/upload/result.html">
</applet>
basic configuration

Example 2
The congifuration is similar to example 1, with the exception that the jar is stored in a separate directory "applets". You will then be required to enter the param "codebase" - which is a relative URL to the html file.

<applet name="MyFTPUploader" 
     code="com.javaatwork.myftpuploader.MyFTPUploader.class" 
     codebase="applets/" 
     archive="myftpuploader-standard-signed-1.6.jar, labels.jar" 
     width="400" height="250">
        <param name="successURL" value="http://www.mycompany.com/upload/result.html">
</applet>
configuration where jar is stored in seperated directory

Example 3
This example adds the 'cookie' param to the configuration. The 'cookie' param is given through the use of Javascript.

<applet name="MyFTPUploader" 
     code="com.javaatwork.myftpuploader.MyFTPUploader.class" 
     archive="myftpuploader-standard-signed-1.6.jar, labels.jar, labels_fr.jar" 
     width="400" height="250">
        <param name="successURL" value="http://www.mycompany.com/upload/result.html">
        <param name="language" value="fr">
</applet>
configuration with a language file

dot