[opencms-dev] File Upload with more then 1 file upload fields

Nico Krause Nico.Krause at nsc.eu.com
Thu Dec 12 16:58:15 CET 2002


Hi guys ...
 
I tried uploading files with more then 1 file upload field.
But there seems to be no possibility to differ to files... 
 
Is there only the possibility to get the File names with:
 
Enumeration files = cms.getRequestContext().getRequest().getFileNames();
 
??
 
the only thing would be if there is the first field empty the file name is
called unknown...
 
or is it also possible to get a file from a fileupload field which is
identified from the HTML 'name' attribute?
 
<input type="file" name="file1">
<input type="file" name="file2">
 
Thank you for any response...
 
Best Regards,
 
Nico
 
 
____________________________________
Nico Krause
NorthStar Communications GmbH
Wallbergstr. 20-22     85221 Dachau
Telefon: +49 (0) 81 31 / 9 96 87 - 53
Fax:      +49 (0) 81 31 / 9 96 87 - 29
Mobil:    +49 (0) 1 71 / 3 70 10 70
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20021212/48ca7558/attachment.htm>


More information about the opencms-dev mailing list