Originally posted by Sunetra Sen:
Thanks for the quick response!
Let's see if I can persuade them to go back to input type="file"..
meanwhile can this functionality be achieved in any way without using input type="file" OR signed applet if I go for XML/XSLT
Thanks,
Sunetra
PS:I have edited my diplay name and it should show up properly soon
![]()
Originally posted by Sunetra Sen:
Now each time the page loads somehow get the list of the files names of the files stored in that particular folder of the webserver.
This way the user will feel as if he is adding the names of the files to the text area after browsing for those.![]()
Originally posted by David O'Meara:
It can't be done this way, and you may not be able to dynamically add file input fields.
The 'file' input type has heavy security measures, and as such you cannot pre-populate the value in the form in any way and you cannot get a directory listing in client side JavaScript. Sorry, it's just too insecure.
There's no getting around the fact they will have to select each file manually, but the plus side is that the file selector usually remembers the last directory, so that'll make it easier.
---
Another advantage to file input over applets is that if the page is secure so is the file transfer, while the applet communication may not be unless specified separately.
You have to be odd to be #1 - Seuss. An odd little ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|