I am trying to copy files automatically from one computer to another over a network.
Only problem now is locked files. I cannot seem to be able to copy locked files like for example outlook.pst, when i try to do anything with it while outlook is running i get an access denied error due to it being used by outlook.
is there anyway to copy this file still?
i have tried the CopyFile and TStreamcopy functions but no success, the article below has an answer marked as correct, but i cannot seem to get the solution to work.
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20950232.html
Any help would be greatly appreciated
Thank you