Hi!
I would like to build a fonction to copy a file from a server to a local hard drive (in a specific folder, ex: c:\test).
I try to use the fonction copy :
if(copy($filename, "C:\test\")) {
echo "done!";
} else {
echo "error";
}
but I always have the error message:
Warning: Unable to create 'C:\test\': Permission denied in C:\Inetpub\wwwroot\php\testperso\unimedia\creation.php on line 184
Anywone knows the solution?
Thanks,