Process cannot access the file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stuart Shay

    #1

    Process cannot access the file

    Hello All

    I created a utility that uses the File System Watcher and then once the File
    is copied to the Watch Directory my utility parses the file then moves the
    files to a set directory.

    The Problem is that I am using a Anti-Virus Software on my server since I am
    coping allot of files to the watch directory the Anti Virus Scans the
    directory and locks my files from being Moved.

    So My Question Is ?
    Is there a way to determine if a Process is on a File wait till that process
    is complete and then perform my coping method on the given file.







Working...