Safari ignores input type="file" on server post

Posted by Jon on Stack Overflow See other posts from Stack Overflow or by Jon
Published on 2010-04-01T13:46:05Z Indexed on 2010/04/01 13:53 UTC
Read the original article Hit count: 331

Filed under:
|

I have a real problem with a classic ASP page. The page allows the user to upload a document and save it to the database. The intial page posts to another asp page which saves down to the db. This works on IE and Firefox. However on Safari it fails. I've debugged the problem and it boils down to the fact that of all the controls that the server page has access to, only 1 control is missing. This happens to be this:

<input type="file" size="40" id="myfile" name="myfile" />

So I'm wondering why safari would decide to not give me access to this control (using asp's Request("") ) and why it works in FF and IE. I have some debug code which writes out all controls and it doesn't see this control.

p.s. I hate Web development

© Stack Overflow or respective owner

Related posts about safari

Related posts about asp-classic