I’m using a PHP script from the command line to copy files from a mapped drive on a remote computer to a folder on the local computer where PHP is running. I get an “Access is denied (code: 5)” error.
When PHP runs from the command line, is it using the same user account it runs with when it runs in the browser?
How can I tell if the access is denied on the remote side or the local side?
What account would need to have read/write permissions set?
Thank you!