Hello everyone.
- Scriptcase 8.00.0012
Use the multiupload file (document filename)
Question:
- How can I limit (or check) the number of files that the user is entering?
- How can I list the names of files that the user has prepared (for a check on names)?
- I should intercept all the names BEFORE the insert into table ‘table_upload’ and BEFORE the upload to the remote server, in order to perform the rename (or copy from the remote folder ‘tmp’) each adding one or more suffixes or prefixes. what is the event?
example:
new field: nfilename
multi upload:
source ‘file1.doc’ rename to {fieldcode}_file1_20141003171500.doc
source ‘file2.xls’ rename to {fieldcode}_file2_20141003171501.xls
source ‘pdf file’ rename to {fieldcode}_file1_20141003171502.pdf
Another multiupload:
source ‘file1.doc’ rename to {fieldcode}_file1_201410040900.doc
Thanks for the answer that you give me
hello
Enrico