HttpWebResponse/WebResponse and MultiPart file data
Does anyone know of any built mechanic in the framework for parsing a mutlti part response?
There has to be something somewhere because System.Web.HttpRequest obviously has the Files property...
THe reason I'm asking is that I have an application that uses Http to request and recieve XML data as well as multipart responses containing file data.
I have code that parses the http multi part resonse, but I think there may be a bug, and it seems like it would be a lot easier if I could simply use the same .net framework code that is used to file the HttpFileCollection of System.Web.HttpRequest...
Anyone have any info?
Re: HttpWebResponse/WebResponse and MultiPart file data
I don't know the answer to your question but you can use .NET Reflector to look at the source code for any Framework types and see how they do it.
Re: HttpWebResponse/WebResponse and MultiPart file data
I already did the reflector all the Microsoft code for this is strictly internal/private... I wonder why they felt the need to do that...
It would be a lot easier to find the problem if I wasn't using threads and it's about 58801 photos across around 784 batches... the code works great when I test using small sets..