I have two web pages. Page A has an old school form to post a file to another page. Code:
<form id="form1" action="WebForm1.aspx" method="post">
<input type="file" id="Upload" />
<input type="submit" id="submit" value="send" />
</form>
Problem is, the receiving side's code behind doesn't ever see that a file was posted. Code:
For Each f In Request.Files.AllKeys
<Do something with f>
Next f
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
<form id="form1" action="WebForm1.aspx" method="post">
<input type="file" id="Upload" />
<input type="submit" id="submit" value="send" />
</form>
Problem is, the receiving side's code behind doesn't ever see that a file was posted. Code:
For Each f In Request.Files.AllKeys
<Do something with f>
Next f
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