|
-
February 6th, 2006, 08:29 AM
#1
How to find if the file is busy
I need to copy the file (OutboxLog.txt produced by Fax service) right after it was updated. I'm using:
System.IO.File.Copy(strSource, strDestination, True) to do that, but if the source file is busy (was not closed yet after update) the copy process fails.
How can I find if the file is still busy?
Thank you
Vlad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|