logo




Parameters - MyDownloader
dtdisableCopyAndPaste
dtdisableDragAndDrop
dtfile_X
dtfiles
dticonDownload
dtlanguage
dtselectAllFiles
dtshowDownloadButton
dtshowToolTip
dtshowThumbNailsInApplet
dtsuccessURL


disableCopyAndPaste top
description: Disables the copy and paste functionality.
since: version 1.4
format: true or false
default: false
example: true
tag example: <param name="disableCopyAndPaste" value="true">

disableDragAndDrop top
description: Disables the drag and drop functionality.
since: version 1.4
format: true or false
default: false
example: true
tag example: <param name="disableDragAndDrop" value="true">

file_X top
description: Defines the file to download. The URL of a file can be a full URL or a relative one. The filename of the URL needs to be urlencoded if the filename contains spaces. Append '#:#<filename>' to the URL to store the file with a different name. To store the file in a new directory append '#:#<directory>/<filename>'. Replace the X of files_X with a digit. The first digit needs to be a 1. This parameter can only be used if the parameter 'files' is not present.
since: version 1.4
format: url[#:#filename] the part [ ] is optional
default: No default.
example: http://www.javaatwork.com/java-download-applet/files/castle.jpg#:#castle.jpg
tag example: <param name="file_1" value="http://www.javaatwork.com/java-download-applet/files/castle.jpg#:#castle.jpg"> <param name="file_2" value="http://www.javaatwork.com/java-download-applet/files/kid.jpg">

files top
description: Defines a list of files to download. The URL of a file can be a full URL or a relative one. The filename of the URL needs to be urlencoded if the filename contains spaces. Add '#:#<filename>' to store the file with a different name. To store the file in a new directory add '#:#<directory>/<filename>' See also the parameter 'files_X' for defining the files separately.
format: CSV
default: No default.
example: http://www.javaatwork.com/java-download-applet/files/mydownloader.txt; http://www.javaatwork.com/java-download-applet/files/castle.jpg; http://www.javaatwork.com/java-download-applet/files/kid.jpg
tag example: <param name="files" value="http://www.javaatwork.com/java-download-applet/files/mydownloader.txt; http://www.javaatwork.com/java-download-applet/files/castle.jpg#:#images/castle.jpg; http://www.javaatwork.com/java-download-applet/files/kid.jpg">

iconDownload top
description: Adds an icon to the download button.
format: An absolute or relative URL.
default: No default.
example: http://www.javaatwork.com/images/download.gif
tag example: <param name="iconDownload" value="http://www.mycompany.com/images/download.gif">

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

- Danish(da)
- Dutch(nl)
- English(en)
- Finnish(fi)
- Icelandic(is)
- Italian(it)
- French(fr)
- German(de)
- Norwegian(no)
- Polish(pl)
- Portuguese(pt)
- Spanish(es)
- Swedish(sv)

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, en, it, fi, fr, is, nl, no, pl, pt, es, sv
default: en
example: de
tag example: <param name="language" value="de">

selectAllFiles top
description: If true all files are selected for download when MyDownloader opens.
since: version 1.3
format: true or false
default: false
example: true
tag example: <param name="selectAllFiles" value="true">

showDownloadButton top
description: Shows the download button.
format: true or false
default: true
example: false
tag example: <param name="showDownloadButton" value="false">

showToolTip top
description: Shows a tooltip of a selected file.
since: version 1.4
format: true or false
default: true
example: false
tag example: <param name="showToolTip" value="false">

showThumbNailsInApplet top
description: Shows a thumbnail in the applet when a jpeg is selected.
format: true or false
default: false
example: true
tag example: <param name="showThumbNailsInApplet" value="true">

successURL top
description: After one of the files have been successfully downloaded, the user is redirected to another URL (confirmation page).
since: version 1.4
format: an absolute or relative URL
default: no default
example: http://www.mycompany.com/success.html
tag example: <param name="successURL" value="http://www.mycompany.com/success.html">


dot