I am trying to use WIN32 API "CopyFile" to copy a file from a remote machine to local.
bRet = CopyFile(src, dest, false);
"dest" is defined as
dest = "\\\\desk\\data\\1.txt";
But this operation always fails. Could anybody give me a little hint? Thanks!