J
Jerry J
I am using File.Copy(sSrcFile, sDestPath, true); to copy a file to a folder.
This usually works, but somtimes I get this error "Access to 'my destination
file path is denied."
I realize that there must be some process connected to the file that causes
this problem, however, I can always manually copy the file without a problem.
Can someone tell me what I can do to force the file copy to occur?
This usually works, but somtimes I get this error "Access to 'my destination
file path is denied."
I realize that there must be some process connected to the file that causes
this problem, however, I can always manually copy the file without a problem.
Can someone tell me what I can do to force the file copy to occur?