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 2:48 pm




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: FTP Upload Error 1002
PostPosted: Fri May 12, 2006 6:12 am 
Offline

Joined: Fri May 12, 2006 5:49 am
Posts: 2
hi :
i'm using FTPUpload methode with Dynamic web twain 4 :

function Numerise() {
document.forms[0].TwainCon.SelectSource();
document.forms[0].TwainCon.OpenSource();

document.forms[0].TwainCon.FTPPassword = PasswordFTP;
document.forms[0].TwainCon.FTPUserName = UserNameFTP;
document.forms[0].TwainCon.FTPPort = PortFTP;

document.forms[0].TwainCon.TransferMode = 0
document.forms[0].TwainCon.PixelType = 1;
document.forms[0].TwainCon.BitDepth = 8;
document.forms[0].TwainCon.IfShowUI = false;
document.forms[0].TwainCon.EnableSource();
}
function DynamicWebTwain_OnPostTransfer()
{
document.forms[0].TwainCon.DisableSource();
var bool = document.forms[0].TwainCon.FTPUpload( "DevServer", 0 , "test.tiff");
alert("Uploading : " + bool + " Error code : " + document.forms[0].TwainCon.ErrorCode + " Error string : " +document.forms[0].TwainCon.ErrorString );

}



All others FTP parameters are set.
after calling Numerise function, this is result of "alert" function:

Uploading : false Error code : -1002 Error string : Not enough memory to perform operation.


please help me


Top
 Profile  
 
 Post subject: FTP Upload don't work when change PixelType or BitDepth
PostPosted: Sun May 14, 2006 10:33 pm 
Offline

Joined: Fri May 12, 2006 5:49 am
Posts: 2
Hi :
When i remove this two instructions from my code, FTPUpload work well with no problems.

//document.forms[0].TwainCon.PixelType = 1;
//document.forms[0].TwainCon.BitDepth = 8;

only with this two line, the error is rased.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 11:04 pm 
Offline
User avatar

Joined: Mon Mar 07, 2005 11:11 pm
Posts: 866
Does this problem always happen after calling Numerise function? If you
upload a very small image file, does this problem also exist?

Would you please save the TIFF file using SaveAsTIFF method and send it to us?

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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

It is currently Sun May 20, 2012 2:48 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