I have two web pages. Page A has an old school form to post a file to another page. Code:
Problem is, the receiving side's code behind doesn't ever see that a file was posted. Code:
However, if I change things on the first page and use the WebClient.UploadFile method, the receiving page does seethe file in its collection.
Does anyone know why?!?
James
--
--
James
Code:
<form id="form1" action="WebForm1.aspx" method="post" enctype="multipart/form-data">
<input type="file" id="Upload" />
<input type="submit" id="submit" value="send" />
</form>
Code:
For Each f In Request.Files.AllKeys
<Do something with f>
Next f
Does anyone know why?!?
James
--
--
James