copy file from server to shared network folder

From: Date: Fri, 20 Apr 2007 04:04:14 +0000
Subject: copy file from server to shared network folder
Groups: php.general 
Request: Send a blank email to php-general+get-253312@lists.php.net to get a copy of this message
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?

« previous php.general (#253312) next »