ReType Posted May 6, 2007 Share Posted May 6, 2007 Hello!, having a bit of an issue at the moment, im using IIS and php 4, im trying to write a bit of code that will cope a file from 1 network location to another i have tried 2 methods using the copy command, the first is mapping the network location onto the webserver then going copy('x:\example',... etc the other method is using UNC paths, both work fine if i call the php script from the command line like c:\php\php.exe c:\myscript.php this works fine but from a browser i just get file cannot be found, i have tried setting setting various permissions on the destination server, tried changing the IUSR_ account to a domain account etc, but im not having a lot of luck... any help would be appreciated Link to comment https://forums.phpfreaks.com/topic/50287-using-php-to-copy-a-file-over-the-network/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.