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


















|
| description: |
Defines the applet's background color. The color must be given in hexidecimal format. |
| since: |
version 1.5 |
| format: |
hexidecimal |
| default: |
#ffffff (white) |
| example: |
#ffffff |
| tag example: |
<param name="backgroundColor" value="#ffffff"> |
|
| description: |
Indicates that the parameters 'files' or 'file_X' are base64encoded. If true the base64encoded URL's are decoded in the applet. |
| since: |
version 1.5 |
| format: |
true or false |
| default: |
false |
| example: |
true |
| tag example: |
<param name="base64Encoded" value="true"> |
|
| description: |
The default directory of the filedialog. If this parameter is not set the filedialog will be opened in the last used directory. |
| since: |
version 1.7 |
| format: |
String |
| default: |
no default |
| example: |
C://temp |
| tag example: |
<param name="currentDirectory" value="C://temp"> |
|
| 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"> |
|
| 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"> |
|
| 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 '' 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"> |
|
| 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 '' 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"> |
|
| description: |
Defines the folderchooser. Possible values are '1' (custom folderchooser) and '2' (Java folderchooser). |
| since: |
version 1.5 |
| format: |
1 or 2 |
| default: |
1 |
| example: |
1 |
| tag example: |
<param name="folderChooser" value="1"> |
|
| 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"> |
|
| description: |
Defines the look and feel. Possible values are '1' (default Java look and feel) and '2' (Windows look and feel).
|
| since: |
version 1.5 |
| format: |
1 or 2 |
| default: |
1 |
| example: |
2 |
| tag example: |
<param name="lookAndFeel" value="2"> |
|
| 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"> |
|
| 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"> |
|
| description: |
Shows the download button. |
| format: |
true or false |
| default: |
true |
| example: |
false |
| tag example: |
<param name="showDownloadButton" value="false"> |
|
| description: |
Shows a thumbnail in the applet when a jpeg is selected. See also the parameter thumbnail_X. |
| format: |
true or false |
| default: |
false |
| example: |
true |
| tag example: |
<param name="showThumbNailsInApplet" value="true"> |
|
| 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"> |
|
| 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"> |
|
| 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. |
|
| since: |
version 1.7 |
| format: |
String |
| default: |
_self |
| example: |
_self |
| tag example: |
<param name="target" value="_self"> |
|
| description: |
The URL of the thumbnail of the file with parameter file_X. If the applet parameter 'showThumbnailsInApplet' is true
MyDownloader creates a thumbnail of the original image. This can take some time. If a thumbnail of the file is
already available on the server, MyDownloader can retrieve this thumbnail with the parameter thumbnail_X. |
| since: |
version 1.7 |
| format: |
an absolute or relative URL |
| default: |
No default. |
| example: |
http://www.mycompany.com/thumbnail1.jpg |
| tag example: |
<param name="thumbnail_1" value="http://www.mycompany.com/thumbnail1.jpg"> <param name="thumbnail_2" value="http://www.mycompany.com/thumbnail2.jpg"> |
|