1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VB.NET - HTTPWebRequest - MultiPart - Help Required!

Discussion in 'Visual Basic .NET' started by gimme4free, Dec 12, 2011.

  1. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,932
    I'm looking for anybody with experience in posting Multipart forms via HTTPWebRequest in VB.NET.

    The data I am sending does not require any uploads at all, the issue is that there is an option to upload a file on the particular form I am trying to post to but I simply cannot get the post to function correctly even without the upload.

    I don't want to post this in public as the chances are that the form will be changed very shortly & I will have to start over again so if anybody has experience in this area & fancies earning some $$$ for helping out please send me a PM.
     
  2. healzer

    healzer Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jun 26, 2011
    Messages:
    2,363
    Likes Received:
    1,966
    Gender:
    Male
    Occupation:
    Marketing automation tools
    Location:
    Somewhere in Europe
    Home Page:
    PM'd :)
     
    • Thanks Thanks x 1
  3. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,932
    Also just made up a quick project that does everything apart from the actual POST which wont work:
    Code:
    http://www.blackhattoolz.com/TwitterAppUpdateDemo.rar
    Seeing as the thread hasn't had much interest the app is supposed to set read/write settings for a Twi**er application.
     
  4. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,932
    I forgot to mention, this was the other function I created to POST properly formatted multipost data which also did not work: http://pastebin.com/6QrPex8h
     
  5. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,932
    No worries, hours later I find the most simple answer to my issue. There were multiple form fields with the same names on the page. Issue fixed :)
     
    • Thanks Thanks x 1