Unfortunately permissions to a share cannot be granted to a computer account; only users. Yes, it looks like you should be able to do that, and the OS allows you to make the entry, but it doesn't actually work like you'd expect.
One way to get around this is, for instance if you're running a script as a scheduled task, is to mount network drive as a specific user who has access to that share, like so:
net use * \\server\share /user:DOMAIN\username
this will use the first-available drive letter (starting at Z: and going backward from XP/2003 on, but starting at the beginning in Win2k).
You can also specify a drive letter as long as it's not in use:
net use u: \\server\share /user:DOMAIN\username
When complete, don't forget to unmount the share with:
net use u: /d
(Note that you can of course test for the presense of the drive's use, or just drop the mount before mounting it, but I leave that to you.)
Best Answer
In Windows, just use the following synthax in the php command "copy":
You need permissions to copy files (check the configuration of the webserver you're using, the user who's running the webserver must be included with r/w permissions).
If you haven't permissions, run a
then:
You must know which drive letter from Z: down to E: are available on your server.