Msg#: 4264576 posted 11:26 am on Feb 9, 2011 (gmt 0)
Hi I am using ASP.NET (c#)
I have a form on my aspx page with several inputs including one to allow the user to select a file to be uploaded to the server: <input type="file" name="upload" id="upload">
The form itself uses the POST method to submit to a 2nd page "Savecomments.aspx" <form id="commentsForm" name="commentsForm" action="SaveComments.aspx" method="POST" autocomplete="off" enctype="multipart/form-data">
If the file input is left blank (no file selected) the rest of the form submits properly
If there is a file selected it fails, none of the elements on form appear to submit correctly I can no longer see them using Request.Form on the recieving page.
Even more confusingly if I use Microsoft Visual Studio to debug my code the local version of the website it creats works fine. Its when I publish my code to my webserver that the problems occur.
I can see no obvious issue with the server security settings and My code works fine on IE,Firefox,Opera and Chrome. This issue only occurs on safari.