Dynamic Web TWAIN: How to post to a non-action page

Scenario:
You are scanning documents and would like to upload them to something that is not an action page (node, etc).

Solution:
In order to do this we will use one of the upload through post methods, pick the one that is most relevant to your case, in the sample below we will use HTTPUploadAllThroughPostAsPDF(), with the base domain in the HTTPServer field, and the extension of the page in the actionPage field.

Example Usage:

DWObject.HTTPUploadAllThroughPostAsPDF("www.Domain.com","/myuploadpage", fileName, [optionalAsyncSuccessFunc, optionalAsyncFailureFunc]);
Is this page helpful?

Leave a Reply

Your email address will not be published.