I have a bit of 3rd party code to upload selected files. The for is created
like this :
Dim Form: Set Form = Server.CreateObject("ScriptUtils.ASPForm")
In the code it creates a file field like this :
File 1 : <input type="file" name="File1" size="30">
File 2 : <input type="file" name="File2" size="30">
etc.
On submit, it uploads the forms like this :
Form.Files.Save DestinationPath
(Destination path is specified elsewhere in the form)
It's all working fine, but what I would like to do is access the name of the
file. Other form values can be obtained with e.g. :
Form("Directory")
But Form("File1") doesn't work I've also tried Form.Files[0] and
Form.Files[0].name, doesn't work either.
What I want to do is add the uploaded filename a selection list in the
calling page, but that is a different matter for the javascript group. How
do I access the names of the files??? Thanks!