Contact us


All times are UTC - 8 hours



   [ 3 posts ] 
Author Message
   


Joined: Thu Aug 03, 2017 2:43 am
Posts: 12
Hello,

We are on developing. We found some questions to be solved:

1) If the scanner is scanning , how can stop it by API?

2) In which case will the scanned and transfered files in cache be deleted?

3) Once the Browser is crash, we will lost all scanned and transfered files in cache directory. How can we rescue them?

4) To protect against the crash, we save the cache files into a local diretory, in the event of OnPostTransfer. After we upload the local files to the sever, we want to delete the local files. However, we didn't find any API to do it.

Would you like to give us some advices? Thank you.


User avatar
   


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1706
Hi Erikguo,

Thanks for contacting Dynamsoft! Please find my answers below

1) If the scanner is scanning, how can stop it by API?
Please check if CancelAllPendingTransfers helps.
2) In which case will the scanned and transferred files in cache be deleted?
If you close the application, it will be deleted later.
3) Once the Browser is crash, we will lose all scanned and transferred files in cache directory. How can we rescue them?
I think your way below is a good one.
4) To protect against the crash, we save the cache files into a local diretory, in the event of OnPostTransfer. After we upload the local files to the sever, we want to delete the local files. However, we didn't find any API to do it.
Unfortunately, Dynamic Web TWAIN doesn't offer APIs for deleting local files due to security reasons.

Regards,

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


   


Joined: Thu Aug 03, 2017 2:43 am
Posts: 12
Thank you very much!


Display posts from previous:  Sort by  
   [ 3 posts ] 


Who is online

Users browsing this forum: WillieCam 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:
cron
Copyright © 2018 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team
Fatal: Not able to open ./cache/data_global.php