R
Ross
Greetings.
This problem has cropped up while I was writing a file uploader piece
to a much larger project.
The uploader compiles in both 1.1 and 2.0. In 2.0, the file will
successfully upload; in 1.1, I get a familiar error: "Unable to write
data to the transport connection."
Why would the uploader work in one version of .NET but not the other?
Somewhere along the line, implementation of System.Net.Connection has
been changed.
All my code does is create a new HttpWebRequest using
WebRequest.Create, assign the appropriate headers, open a file stream
to the file, then write the output of that stream to the input of the
HttpWebRequest.
Anyone have any resources on the topic?
Thanks,
Ross
This problem has cropped up while I was writing a file uploader piece
to a much larger project.
The uploader compiles in both 1.1 and 2.0. In 2.0, the file will
successfully upload; in 1.1, I get a familiar error: "Unable to write
data to the transport connection."
Why would the uploader work in one version of .NET but not the other?
Somewhere along the line, implementation of System.Net.Connection has
been changed.
All my code does is create a new HttpWebRequest using
WebRequest.Create, assign the appropriate headers, open a file stream
to the file, then write the output of that stream to the input of the
HttpWebRequest.
Anyone have any resources on the topic?
Thanks,
Ross