Is there any way that i can use php to copy a file from the webserver local drive to another network drive. (both windows)
I can do this fine using a batch file on the webserver but cant get it to work through php. Ive tried using exec and system but these wont work. I think it might work if the destination folder had an IUSR_ account but this isnt possible.
system('xcopy c:\temp\1 c:\temp\2'); - works fine
system('xcopy c:\temp\1 y:\temp\2'); - dosent work, doesnt work if enter full network path either
Any ideas?