EldoS | Feel safer!

Software components for data protection, secure storage and transfer

stop copy without unmount

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#22015
Posted: 10/15/2012 16:02:26
by ttran Tran (Priority Standard support level)
Joined: 08/20/2012
Posts: 35

Hello,
if we do copy in Explorer (ctrl-c, ctrl-v), in order to stop the copying we raise CBFS error, and also do un-mount, so that the driver becomes not available. The copying will be over.
Is there a way to stop the Explorer copying process without doing un-mount ?

Thanks
Tran
#22022
Posted: 10/15/2012 23:42:14
by Eugene Mayevski (EldoS Corp.)

And what exactly problem are you having if you don't unmount the disk?


Sincerely yours
Eugene Mayevski
#22026
Posted: 10/16/2012 02:01:10
by ttran Tran (Priority Standard support level)
Joined: 08/20/2012
Posts: 35

Hello,
The user submits a copy job. The Explorer Copying window appears. Files are being sent through CBSF driver to our remote server.
Then the user wants: to stop this copy job (but still stay mounted). How could we do ?

Thx
Tran
#22027
Posted: 10/16/2012 02:04:17
by ttran Tran (Priority Standard support level)
Joined: 08/20/2012
Posts: 35

You might think when we do normal copying in the explorer. If we press Cancel in the copying window, it doesn't mean that we have to unmount the destination driver.
#22030
Posted: 10/16/2012 06:34:04
by Eugene Mayevski (EldoS Corp.)

Frankly speaking, I don't understand the problem.

1) what prevents the user from cancelling the copy operation in the application that performs copying?
2) assuming that you want to cancel copying from your "controller application" why not just throw an exception from the OnWriteFile callback?


Sincerely yours
Eugene Mayevski
#22107
Posted: 10/22/2012 09:14:51
by ttran Tran (Priority Standard support level)
Joined: 08/20/2012
Posts: 35

Oh Thanks, throw exception works well.
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

Topic viewed 975 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!