copy file from server to shared network folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

 

I can't seem to be able to copy a txt file from the server over to a network
drive.

 

Server is apache on winxp and the remote PC is also running XP.

 

Remote folder is shared with all read/write rights enabled.

 

I also tried executing a bat file where the bat file contains the copy
command and that didn't work either.

 

2x clicking on the bat file works.

 

I tried 

 

echo exec("c:\\test.bat"); 

 

and also 

 

echo system ("c:\\test.bat");  

 

and 

 

exec('c:\Windows\system32\cmd.exe /c START c:\test.bat');

 

and

 

exec('c:\\Windows\\system32\\cmd.exe /c START c:\\test.bat');

 

 

with no success.

 

The last 2 items did launch the cmd process.

 

Any ideas?

 

 

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux