Template identifier
Posted: Thu Jan 28, 2010 9:40 am
Hi there,
I'm using the template-feature to rename files before uploading, but there's one thing I don't understand: I would like to rename the original file, but keep the numbering for each file.
Example:
If I do not use the template-feature, jfileupload creates chunks like this:
I want the file to be called "newfile", and upload it like:
and to achieve this, create this parameter:
But jfileupload does not begin from zero (or 1) for each file, but continuously increments while the applet instance is open. Is there any way I can do this?
I'm using the template-feature to rename files before uploading, but there's one thing I don't understand: I would like to rename the original file, but keep the numbering for each file.
Example:
If I do not use the template-feature, jfileupload creates chunks like this:
Code: Select all
origfile.1
origfile.2
origfile.3
...Code: Select all
newfile.1
newfile.2
newfile.3
...Code: Select all
document.writeln('<PARAM NAME="template" VALUE="newfile.:identifier:">');