When you use the HTTP Post method to upload the images in buffer, you need an action page on the server side to receive the data string.
The field name of the uploaded image is "RemoteFile". The action page receives the data string from "RemoteFile" and then saves it to the file system or database on the server side.
Action Page Sample (C#):
<%@ Page Language="c#" AutoEventWireup="false" Debug="True"%>
<%
HttpFileCollection files = HttpContext.Current.Request.Files;
HttpPostedFile uploadfile = files["RemoteFile"];
uploadfile.SaveAs(System.Web.HttpContext.Current.Request.MapPath(".") + "/" + uploadfile.FileName);
%>
References:
For more information about the HTTPUploadThroughPost method, please refer to:
HTTPUploadThroughPost
To download samples of Dynamic Web TWAIN (DWT), please go to:
Sample Download
