HTTPPostResponseString

Description

Returns the response string from the HTTP server if an error occurred after calling one of the HTTPUploadThroughPost*** methods.
This is a read-only property.

Data type

<string>

Syntax

.HTTPPostResponseString;

Remarks

When an error occurs, check ErrorCode or ErrorString for error information.

See also

HTTPUploadThroughPost()
HTTPUploadAllThroughPostAsPDF()

Example

DWObject.HTTPUploadAllThroughPostAsPDF(
    "localhost", 
    "SaveToFile.aspx", 
    "DWT.pdf", 
    function(){
        //success
    }, 
    function () {
        alert("ErrorString - " + DWObject.ErrorString + "; HTTPPostResponseString - "; + DWObject.HTTPPostResponseString);
    }
);
Is this page helpful?

Leave a Reply

Your email address will not be published.