Is there a way to read a locked file across a network given that you are the machine admin on the remote machine? I haven’t been able to read the locked file locally, and attempting it over the network adds another layer of difficulty.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depending on the type of lock (read only vs exclusive) it should be possible to copy the file first, then you can work with the unlocked copy.
You should be able to do that in a background thread. If you really like threading, have the file watcher start the read process once the copy is complete (although that might be overkill)