EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
Posted: 10/02/2009 06:16:03
by Steven Crouchman (Standard support level)
Joined: 05/05/2009
Posts: 17

We are testing some applications with our implementation and noticed that Tortoise SVN tries to move a file over the top of one that already exists. As the file exists we throw an appropriate ECBFSError.

As this process should work, further investigation shows that SetRenameInformationFile is called with ReplaceIfExists equal to true but I can't see how this is passed to the OnRenameOrMove event. Are we missing something obvious? Your examples always overwrite the file which doesn't seem like correct behaviour.
Posted: 10/02/2009 06:35:27
by Volodymyr Zinin (EldoS Corp.)

The destination file must always be overwritten (if it exists).
The flag ReplaceIfExists is handled internally by CallbackFS and that is why it isn't passed to the OnRenameOrMove callback.
Posted: 10/02/2009 07:18:23
by Steven Crouchman (Standard support level)
Joined: 05/05/2009
Posts: 17

Oh, is this in your reference somewhere? Thanks for getting back to me so quickly.
Posted: 10/02/2009 07:50:20
by Volodymyr Zinin (EldoS Corp.)

No, but we will add this info.



Topic viewed 3380 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!