 |
 |
 |
Hello All,
I have a VB6 application that is attempting to post about 1.2 MB of data to
an IIS 5.0 server using the MSXML2.ServerXMLHTTP40 object.
I keep getting an error when trying to post the full 1.2 MB but it works
when I attempt to send 1/6 the amount of data (about 202 K).
When it does not work, I get the following error:
-2147012866 (80072efe)
The connection with the server was terminated abnormally
I am wondering if the size of my post is limited on the server side or
client side???? How can I allow large posts like this?
Here is a sample of the code:
Dim objHTTP As New MSXML2.ServerXMLHTTP40
Dim s As Variant
Dim sUrl As String
On Error GoTo Err_Trap
s = ReadFile(c:\test.xml) 'about 1.2 mb xml file
sUrl = "https://testinghost/testpage.asp"
With objHTTP
.setOption SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS, 13056
.open "POST", sUrl, False
.send s 'does not work
'.send Left(s, Len(s) / 6) 'does work
End With
'do more with a valid post here...
exit function
Err_Trap:
msgbox err.description
Thanks!!
Brian
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |