Pls I need sample code how to upload scanned document from dynmsoft webtwin scanner to specific folder on repository.
I tried the below code but not working
var uploadfilename="TestScannedDoc;
var strHTTPServer ="127.0.0.1";
var CurrentPathName = unescape(location.pathname);
DWObject.HTTPPort = "8080";
var strActionPage ="alfresco/api/-default-/public/cmis/versions/1.1/atom";
DWObject.HTTPUploadAllThroughPostAsPDF(strHTTPServer, strActionPage, uploadfilename + ".pdf", OnSuccess, OnFailure);