>>File.Copy uses the api CopyFile
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363851(v=vs.85).aspx>>
>>Looks like a permission issue
>
>I do not think so.
The file copy starts but this is fired as an error in the middle of the copy:
That's what I don't understand - what makes you believe that the copy has actually started ?
>"The process cannot access the file 'MyFile' because it is being used by another process."
Is 'MyFile' the source or destination ? What is the exception type ? Any inner exception ?
>
>So, this is why I am wondering how another action can get a hold of a file while it is being created.
>
>It looks like the other action starts to copy the file while the copy is in progress thus interfering with the initial copy.
>
>Is that possible?