XMLHTTP POST - string length

rixrixrixrix Member Posts: 121
Hello,

I use 'Microsoft XML, v6.0'.ServerXMLHTTP60' automation and "POST" method to send form data to www server.

The problem is that I don't know how to send bigger amount of data (max accepted length of string for "send" method was 2079)
(I was sending <=1024 Text chunks as parameter : locAutXMLHTTP.Send(Str[1]+Str[2]+.....Str[n]) - the error was about NAV's memory buffer - used )

I also tried to use Attain's BSTR automation but also this gives me error about string length ("the length of text string exceeds the size of the string buffer")

Is there any way to solve this?

Thank you

Comments

  • rixrixrixrix Member Posts: 121
    Solved by using 'Microsoft XML, v6.0'.IXMLDOMText as parameter
Sign In or Register to comment.