TWAIN ActiveX Control, Plug-in, Scanner SDK, Component, HTTP Control/SDK

Dynamsoft TWAIN Products

Support Community for TWAIN Control/Component/SDK for Scanning Solutions
* Login   * Register
* FAQ    * Search

It is currently Sun May 20, 2012 3:09 pm




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: HTTPUploadAllThroughPostAsMultiPageTIFF
PostPosted: Thu May 04, 2006 3:09 pm 
Offline

Joined: Tue Apr 18, 2006 10:09 pm
Posts: 5
Hi Catherine/Robert

I am not able to upload more than 6 pages using HTTPUploadAllThroughPostAsMultiPageTIFF method in QA environment. It works fine for less than 6 pages.

Although I am able to upload 58 pages using the same code in dev environment.

Below is the code:

function Save()
{


if(frmScan.WebTwain1.HowManyImagesInBuffer == 0)
{
alert("Please Scan and then click Save button");
}
else
{
var strActionPage;
var strHostIP;

var CurrentPathName = unescape(location.pathname); // get current PathName in plain ASCII

var CurrentPath = CurrentPathName.substring(0, CurrentPathName.lastIndexOf("/") + 1);

var actionpage = "<%=pagename%>" + "&docname=<%=docname%>";
strActionPage = CurrentPath + actionpage; //the ActionPage's file path

strHostIP = "<%=servername%>";

frmScan.WebTwain1.HTTPPort = <%=portnum%>; //port for QA = 443 and for Dev = 80

frmScan.WebTwain1.HTTPUploadAllThroughPostAsMultiPageTIFF(strHostIP, strActionPage,"");


/*if (frmScan.WebTwain1.ErrorCode != 0)
{
alert(frmScan.WebTwain1.ErrorString);
alert(frmScan.WebTwain1.HTTPPostResponseString);

}
else
{*/
//alert("uploaded"); //succeded
document.forms[0].submit();
doSubmit(1);
//}
}


}


Please let us know the solution.

Thanks,
Nagasree


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 08, 2006 12:07 am 
Offline
User avatar

Joined: Mon Mar 07, 2005 11:11 pm
Posts: 866
For SSL upload, please use our new Dynamic Web TWAIN 4.2.1, which can be downloaded at:
http://www.dynamsoft.com/DOWNLOAD/20060 ... 04.2.1.exe

In this version, we add a new property called IfSSL. For SSL(default port #443) upload and download, please set IfSSL = true. For non-SSL upload and download, please set IfSSL = false.

You also need to change the version number in your CODEBASE to 4.2.1 to enable the automatic download and installation of the new version. The details can be found at:
http://www.dynamsoft.com/help/TWAIN/Web ... Script.htm

Thanks.

_________________
Robert
TWAIN Support Team
http://www.dynamsoft.com/
TWAIN ActiveX/Plug-in HTTP Control/SDK & TWAIN ActiveX Control, Scanner SDK, Component
Software Configuration Management | SCM Solution


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 10, 2006 11:32 am 
Offline

Joined: Tue Apr 18, 2006 10:09 pm
Posts: 5
Thanks for your response.

It worked fine for few days after updating to the new version 4.2.1.

It is throwing up HTTP Process Error now even in the updated version.

Please help us in finding the solution.

Thanks,
Nagasree


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 11, 2006 9:28 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Nagasree,

After we discussed this issue in LiveHelp, did you finally solve it? Please let us know if you still have a problem.

Thanks.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

It is currently Sun May 20, 2012 3:09 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog