Hi all , I wanted to upload a file with a default file name. Ie i dont want to select a file using "BRowse" button but instead i wamt to hardcode the name of file. I tried doing teh same it did not work. WHen i looked into RFC spec , it is mentioned that value attribute of file is readonly . SO U cannot expliclity set a value to it ? Is there anyway to establish the same. Your help is very much appreciated. Thnaks in advance, Sunil.s
"Winners don't do different things<br /> They do things differently"
I think this is an HTTP/HTML question, about the upload form element (I forget what it's called). It lets your browser grab a file and POST it (as Multi-Part) to the server. There is no way to control what the browser does with it. Netscape, for example does (or used to) always pop the browse dialog in some default (netscape install) directory looking for *.html files. Every time. Very annoying. You are going to need a signed applet to do something more.