I am trying to copy a file to another server using FSO.CopyFile but I get a permission error. I can copy the file with windows explorer without a problem but not with the API.
I found another question on EE with the same problem and followed the steps outlined in the accepted answer offered by expert sunil_mails, but it doesn't work for me. Rather than repeat information here, the following is a link to that resolution:
If I set the NetR.lpRemoteName = "\\server" I get no error on the WNetAddConnection2 but still get the permission error. If I set it to "\\server\" I get the "Network path not found" error. If I add a subpath to it ("\\server\path"), I get the "The credentials supplied conflict with an existing set of credentials." error.
Can anyone offer any help?