1
I am trying to copy a file from a server to my machine, simply the code runs, does not return me any error, but does not copy the file.
Follow the code C++:
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
CopyFile("\\\\server\\Teste\\arquivo.pdf","\\\\MeuPc\\c$\\arquivo.pdf",true);
}