INPUT TYPE FILE problem with IE6 on XP SP2

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form on a web page. It is not intended for file upload, but users
generally have to enter a file name, and so I use the INPUT element of FILE
type to allow them to browse for a file. This is the code:

<form name="form2" method="get" action="declare.asp">
<p>
<input type="file" name="file">
<br>
<input type="submit" name="Submit2" value="Go">
</p>
</form>

My problem occurs when someone types in a value which is not a real file
name. This is valid as far as I'm concerned, but on an XP SP2 machine the
form does not get submitted.

To clarify, the form works on IE version 6.0.2800 but NOT on 6.0.2900.

Does anyone know the reason for this (I cannot imagine any security issues),
and more importantly a workaround, either in my code, or in IE / XP settings?

Thanks for your interest.
 
I have this problem, over 1 year later and there still doesn't seem to be any answers on the Internet anywhere. If anyone reads this and knows how to get round the problem please let us know.

Thanks

J.
 
Back
Top