logo




Parameters - MyUploader
Below you will find a list of parameters. With these parameters MyUploader can be configured. Put the parameters in the HTML (upload) page inside the applet tag.

dtbackgroundColor
dtcoldfusion
dtcompressionQuality
dtcurrentDirectory
dtdirectory
dtdisableDefaultFileFilter
dtfileFilter
dticonAdd
dticonDelete
dticonUpload
dtimageInterpolation
dtlanguage
dtlookAndFeel
dtmaxByteSize
dtmaxFileSize
dtmaxImageHeight
dtmaxImageSize
dtmaxImageWidth
dtpostParameters
dtrejectFileFilter
dtshowHTTPResponse
dtshowThumbNailsInApplet
dtshowThumbNailsInFileDialog
dtsuccessURL (required)
dttarget
dtuploadDirectories
dtuploadURL (required)
dtzipFile


backgroundColor (optional) top
description: Defines the applet's background color. The color must be given in hexidecimal format.
format: hexidecimal
default: #ffffff (white)
example: #ffffff
tag example: <param name="backgroundColor" value="#ffffff">

coldfusion (optional) top
description: Needed if the server is implemented with Coldfusion.
since: version 1.6
format: true or false
default: false
example: true
tag example: <param name="coldfusion" value="true">

compressionQuality (optional) top
description: Defines the compression quality for a jpeg image in case the image has been resized. For resizing an image see the parameter maxImageSize. The compressionQuality can have a value between 0 and 100.
since: version 1.8
format: integer between 0 and 100
default: 75
example: 100
tag example: <param name="compressionQuality" value="100">

currentDirectory (optional) top
description: Sets the current directory of the file dialog.
since: version 1.13
format: String
default: no default
example: C:\Users\John\Documents
tag example: <param name="currentDirectory" value="C:\Users\John\Documents">

directory (optional) top
description: Defines the upload directory on the ftp server.
format: String
default: no default
example: myfiles
tag example: <param name="directory" value="myfiles">

disableDefaultFileFilter (optional) top
description: The FileDialog contains FileFilters. FileFilters are components for filtering particular files e.g. *.pdf's. The FileDialog contains by default a DefaultFileFilter (*.*). This FileFilter shows all files in the FileDialog. For disabling this FileFilter use this param tag.
format: true or false
default: false
example: true
tag example: <param name="disableDefaultFileFilter" value="true">

fileFilter (optional) top
description: The FileDialog is used to filter on specific files - and is called a FileFilter.
format: description + semicolon + extensions (comma separated)
default: no default
example: Image files (*.jpg, *.jpeg, *.png, *.gif): jpg, jpeg, png, gif
tag example: <param name="fileFilter" value="Image files (*.jpg, *.jpeg, *.png, *.gif): jpg, jpeg, png, gif">

iconAdd (optional) top
description: Adds an icon to the add button.
format: An absolute or relative URL.
default: no default
example: http://www.mycompany.com/images/add.gif
tag example: <param name="iconAdd" value="http://www.mycompany.com/images/add.gif">

iconDelete (optional) top
description: Adds an icon to the remove button.
format: An absolute or relative URL.
default: no default
example: http://www.mycompany.com/images/remove.gif
tag example: <param name="iconDelete" value="http://www.mycompany.com/images/remove.gif">

iconUpload (optional) top
description: Adds an icon to the upload button.
format: An absolute or relative URL.
default: no default
example: http://www.mycompany.com/images/upload.gif
tag example: <param name="iconUpload" value="http://www.mycompany.com/images/upload.gif">

imageInterpolation (optional) top
description: Defines the resize algorithm. Possible values are:
1 awt (default, more sharp than 3 and more smooth than 5, requires low memory, slow)
2 one-step bilinear (poor quality, requires more memory than 1, very fast)
3 multiple-step bilinear (smooth images, requires more memory than 1, 2 and 4)
4 one step bicubic (poor quality, requires more memory than 1, very fast)
5 multiple-step bicubic (sharp images, requires more memory than 1, 2 and 4)
since: version 1.12
format: integer
default: 1
example: 1
tag example: <param name="imageInterpolation" value="1">

language (optional) top
description: MyUploader is available in:

- Chinese Simplified(zh_CN)
- Chinese Traditional(zh_TW)
- Danish(da)
- Dutch(nl)
- English(en)
- Finnish(fi)
- Greek(el)
- Icelandic(is)
- Italian(it)
- French(fr)
- German(de)
- Korean(ko)
- Norwegian(no)
- Polish(pl)
- Portuguese(pt)
- Spanish(es)
- Swedish(sv)
- Turkish(tr)

If this parameter is not used the language of the operating system will be used. If this language is not available than English will be used.
format: da, de, el, en, it, fi, fr, is, ko, nl, no, pl, pt, es, sv, tr, zh_CN, zh_TW
default: en
example: de
tag example: <param name="language" value="de">

lookAndFeel (optional) top
description: Defines the look and feel. Possible values are '1' (default Java Metal look and feel) and '2' (Windows look and feel).
since: version 1.12
format: 1 or 2
default: 1
example: 2
tag example: <param name="lookAndFeel" value="2">

maxByteSize (optional) top
description: Defines the maximum number of bytes (MB) that could be uploaded in one request.
format: integer
default: free edition: 3, standard edition: unlimited
example: 10
tag example: <param name="maxByteSize" value="10">

maxFileSize (optional) top
description: Defines the maximum number of files that could be uploaded in one request.
format: integer
default: free edition: 3, standard edition: unlimited
example: 10
tag example: <param name="maxFileSize" value="10">

maxImageHeight (optional) top
description: Defines the maximum height of a resized image. See also the parameters maxImageWidth and maxImageSize.
since: version 1.12
format: integer
default: no default
example: 500
tag example: <param name="maxImageHeight" value="500">

maxImageSize (optional) top
description: Resizes an image (jpeg and png) to the maxImageSize. If an original image has the size 1000 X 600 and the value of maxImageSize is 500 than the image will be scaled down to 500 x 300. See also the parameter compressionQuality. The parameter maxImageSize is a shorthand for maxImageHeight and maxImageWidth, for example maxImageSize="100" is the same as maxImageHeight="100" and maxImageWidth="100", See also the parameters maxImageHeight and maxImageWidth.
since: version 1.8
format: integer
default: no default
example: 500
tag example: <param name="maxImageSize" value="500">

maxImageWidth (optional) top
description: Defines the maximum width of a resized image. See also the parameters maxImageHeight and maxImageSize.
since: version 1.12
format: integer
default: no default
example: 500
tag example: <param name="maxImageWidth" value="500">

postParameters (optional) top
description: Defines post parameters (additional request parameters). In this parameter you need to define the names of the post parameters, comma separated. In a separate applet parameter you need to define the value. For example:

<param name="postParameters" value="name,city">
<param name="name" value="Smith">
<param name="city" value="London">

Please note that this parameter doesn't work with classic ASP. For classic ASP you need to append the request parameters to the upload URL.
since: version 1.10
format: strings comma separated
default: no default
example: name,city
tag example: <param name="postParameters" value="name,city">

rejectFileFilter (optional) top
description: Reject files with a specific file extension.
format: extension + comma + extension + et cetera
default: no default
example: exe, bat
tag example: <param name="rejectFileFilter" value="exe, bat">

showHTTPResponse (optional) top
description: Shows the http response of the server Sun Java Console. The Sun Java Console can be started in Internet Explorer with Tools -> Sun Java Console
since: version 1.8
format: true or false
default: false
example: true
tag example: <param name="showHTTPResponse" value="true">

showThumbNailsInApplet (optional) top
description: Show thumbnails in the applet.
since: version 1.6
format: true or false
default: false
example: true
tag example: <param name="showThumbNailsInApplet" value="true">

showThumbNailsInFileDialog (optional) top
description: Show thumbnails in the filedialog.
since: version 1.6
format: true or false
default: false
example: true
tag example: <param name="showThumbNailsInFileDialog" value="true">

successURL (optional) top
description: After the files have been successfully uploaded, the user is redirected to another URL (confirmation page).
since: Since version 1.6 optional. Without a successURL a dialog with the message 'Upload completed' is visible.
format: An absolute or relative URL
default: no default
example: http://www.mycompany.com/upload/successpage.html
tag example: <param name="successURL" value="http://www.mycompany.com/upload/successpage.html">

target top
description: A string indicating where to display the success (confirmation) page. Possible values:
"_self"Show the success page in the window and frame that contain the applet.
"_parent"Show the success page in the applet's parent frame. If the applet's frame has no parent frame, acts the same as "_self".
"_top"Show the success page in the top-level frame of the applet's window. If the applet's frame is the top-level frame, acts the same as "_self".
"_blank"Show the success page in a new, unnamed top-level window.
<name>Show the success page in the frame or window named <name>. If a target named <name> does not already exist, a new top-level window with the specified name is created, and the document is shown there.
format: String
default: _self
example: _self
tag example: <param name="target" value="_self">

uploadDirectories (optional) top
description: Disables the upload of directories.
since: version 1.8
format: true or false
default: true
example: false
tag example: <param name="uploadDirectories" value="false">

uploadURL (required) top
description: The URL of the web server - where the files will be uploaded.
format: An absolute or relative URL
default: no default
example: http://www.mycompany.com/upload.php
tag example: <param name="uploadURL" value="http://www.mycompany.com/upload.php">

zipFile (optional) top
description: Creates a zip file of the selected files. This zip file will be uploaded.
since: version 1.9
format: name of the zip file
default: no default
example: myname.zip
tag example: <param name="zipFile" value="myname.zip">

dot