I'm in the process of migrating code from a classic ASP site to an ASP.NET site. One problem that I'm running into is an <input type="file" name="upload"/>
form field.
<form
id="classicASPform"
method="post"
EncType="Multipart/Form-Data"
action="http://domain2/formReciver.aspx">
<input type="file" id="upload" name="upload" /><br/>
<input type="submit" id="save" class="button" value="Save" />
<input type="reset" id="reset" class="button" value="Reset" />
</form>
When I try to access the data on the ASP.NET page I'm getting 0 for Request.Files.Count and can only get the string values for the posted file name from Request.Form("upload") or Request.Item("upload")
So how do you access the file data from a cross domain file post in classic ASP to ASP.NET?