J
jim
Is there a way (using VB.Net or C#) to copy open or locked files?
Thanks!
jim
Thanks!
jim
Is there a way (using VB.Net or C#) to copy open or locked files?
Thanks!
jim
Is there a way (using VB.Net or C#) to copy open or locked files?
Thanks!
jim
That shows how to lock/unlock a file, not how to read an already
locked file (most probably locked in another process)
kimiraikkonen said:Yes, i just wanted to point out that he could unlock the file using
the code then he could copy it.
No you can't "unlock" a file "locked" by another process. Where "locked"
means opened exclusively, that is, non shared.
You can only use the "shadow copy services " to copy such file(s). The
shadow copy services API's aren't covered by the framework however.
Willy.
Yes, i just wanted to point out that he could unlock the file using
the code then he could copy it.
(PS: The thread is a cross-post)
jim said:One of the more perfect examples of what I'd like to accomplish is a
product called MirrorFolder (at
http://www.techsoftpl.com/backup/features.php).
The "problem" with this software is the pricing per client instead of
having a server version that could be used to mirror all needed
folders to itself. (While I see this a a "problem", I do understand
that the software's author sees it as a money making proposition. If
I could make a clone of his software that did not exclude the use of
network drives or mapped drives as the source drive, I would make it
freeware.)