C
CindyH
Hi
I'm trying to use webrequest - webresponse to post a stream.
I have set up a simple test with one aspx form holding the post code and
trying to get another aspx form to receive the post on localhost.
Can you explain to me the possible reasons why a 'GetResponse' - to send the
data to a server might not be working for a simple text file with one line.
test.text - contains: this is a test.
(Using streamwriter to wrap the text in string and send as stream.
so it looks like this "this is test".)
Either the 'Getresponse' to send to server or the 'reader as streamreader =
new streamreader(page.request.inputstream)' is not working.
From everything I have read and heard this should work.
Thanks, CindyH
I'm trying to use webrequest - webresponse to post a stream.
I have set up a simple test with one aspx form holding the post code and
trying to get another aspx form to receive the post on localhost.
Can you explain to me the possible reasons why a 'GetResponse' - to send the
data to a server might not be working for a simple text file with one line.
test.text - contains: this is a test.
(Using streamwriter to wrap the text in string and send as stream.
so it looks like this "this is test".)
Either the 'Getresponse' to send to server or the 'reader as streamreader =
new streamreader(page.request.inputstream)' is not working.
From everything I have read and heard this should work.
Thanks, CindyH