We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[3272] POSTing Form Data to a Web Page

Last post 06-02-2007 11:14 PM by sameer.alone1. 32 replies.
Page 3 of 3 (33 items) < Previous 1 2 3
Sort Posts: Previous Next
  • 01-26-2006 12:13 AM In reply to

    • mkajnar
    • Not Ranked
    • Joined on 01-25-2006
    • New Member
    • Points 5

    Problem with posting Multipart form to ASP.NET ser

    Hello...

    I have specific problem with ASP.NET server...

    I have writen code in Delphi with WinInet - which collect binary data togehther with MultiPart Form variables and send them on to ASP.NET server... Form is received, but ASP.NET can not recognize it...

    Begin of data look as this:

    Content-Type: multipart/form-data; boundary=---------------------------7d63b9261906a2
    Cookie: ASP.NET_SessionId=wyc1qgbe0bjkpmnv2eyn0m55; path=/
    Content-Length: 924855

    ---------------------------7d63b9261906a2
    Content-Disposition: form-data; name="Action"

    New
    ---------------------------7d63b9261906a2
    Content-Disposition: form-data; name="SMAPIAction"

    FileUpload
    ---------------------------7d63b9261906a2
    Content-Disposition: form-data; name="DraftID"

    2C8C0EAD63B24D4492403BDF908DA67B
    ---------------------------7d63b9261906a2
    Content-Disposition: form-data; name="file_0"; filename="C:\ROK-PLAYER.zip"
    Content-Type: application/octet-string

    PK...........

    When I post these data to classic CGI under IIS, form data are recognized OK...
    When I post them to ASP.NET server - problem continue...

    I have set Content-Length of course...

    Do you know some settings which can help me with posting data to ASP.NET server, please?

    Thank you for responses...
    • Post Points: 0
  • 05-17-2006 10:45 PM In reply to

    • fsanchez
    • Not Ranked
    • Joined on 05-17-2006
    • Dominican Republic
    • New Member
    • Points 20

    Re: [3272] POSTing Form Data to a Web Page

    The easiest way to do this is by using the WebRobot component available at http://foxtrot-xray.com/web-robot/

    This component handles normal forms, multipart forms, cookies, redirection, proxies, automatically for you, and makes development so much simpler. You can even upload files using this component.



    • Post Points: 5
  • 06-02-2007 11:14 PM In reply to

    I am trying to post text data from my vb application to a web page field.how can i do this through simple asp code?help me

    I am trying to post text data from my vb application to a web page field.how can i do this through simple asp code?help me

     

    • Post Points: 5
Page 3 of 3 (33 items) < Previous 1 2 3