Click to See Complete Forum and Search --> : <Input> Type=File>


clyde
03-21-2003, 12:59 PM
When Using The Html <Input Type-File>, Is Ther any way to have an initial value to be placed in the file name area when the browser loads the HTML. I want to Upload a file to the server but the file name and path never changes. I have tried by getting into the attributes and putting in an initial value, but when the browser loads the html, the file name area is blank and I have to have the user browse for the file.

any help would be appreciated.

Thanks
Clyde

gil davis
03-21-2003, 01:09 PM
No. There are security issues involved with <input type="file">, so you are prevented from modifying or pre-loading that type of input box.

Nedals
03-21-2003, 01:57 PM
...and I have to have the user browse for the file.Side Issue:
How do you know where the USER saves the file on HIS/HER harddrive? Because that's what is being uploaded.