Results 1 to 3 of 3

Thread: HttpWebResponse/WebResponse and MultiPart file data

  1. #1

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    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?
    Magiaus

    If I helped give me some points.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    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..
    Magiaus

    If I helped give me some points.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width