Ask a Question related to Macromedia ColdFusion, Design and Development.
-
J?J #1
Re: html <input type="file"> can you set a value first ?
There has GOT to be a way. I'm not gonna give up.
J?J Guest
-
Help please: Exception when with <input type="file"> but not with Textbox
I've encounted a pretty strange problem and I'm not quite sure what to make of it. I have a web service that consumes an XML file as well as a... -
<input type="image"... based custom control
I have created one of these controls but arent getting any call backs. I've got the source from the MSPress book "Developing Microsoft ASP.NET... -
problem with reset/clear in <input type="file" >
how to clear values in input file object. In My Form i need to upload a file and enter some values in other text fields. i have "Submit" and... -
HTML + <input type="File">
Hi I'm trying to set default value for input type file. <input type="File" name="tx_pdffile" accept="*.pdf" class="boxText" value="abc.pdf"> ... -
<input type="file"> readonly
Just reading from a previous thread about multiple uploads. I wanted to use script to create multiple input file elements that put the path in as... -
blewis #2
Re: html <input type="file"> can you set a value first ?
Not using standard HTML form inputs. No way. This is for obvious security
reasons. You could then preset the form to upload sensitive files (such as a
passwords file) without the user actually doing it knowingly. I am unaware of
any major browser that allows you to do this. There may be exceptions using
non-HTML solutions (activeX, flash, other plug-ins etc.)
blewis Guest
-
mpwoodward *TMM* #3
Re: html <input type="file"> can you set a value first ?
blewis wrote:
The Flash player doesn't allow file uploads at all, so unless Active-X> Not using standard HTML form inputs. No way. This is for obvious security
> reasons. You could then preset the form to upload sensitive files (such as a
> passwords file) without the user actually doing it knowingly. I am unaware of
> any major browser that allows you to do this. There may be exceptions using
> non-HTML solutions (activeX, flash, other plug-ins etc.)
>
>
>
can do it (and this would be windows/IE specific) you're out of luck.
I'd also point out that even if you do find a way to do this it's "bad
manners" at the very least. The user should choose the file they're
uploading, not you, and if they're aware of a file upload occurring then
I can't imagine why you would need to set this value for the user.
Matt
--
Matt Woodward
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest



Reply With Quote

