I have a php application on my intranet web server running IIS 6 (Server "A") which contains a form to upload files to my other web server running IIS 7.5 (Server "B") on a different subnet. Server A has a mapped drive to a shared folder on Server B. I get a "permission denied" or "file not writeable" error when trying to copy() or fwrite() the uploaded file to Server B.
What security permissions do I need to set on the destination folder on Server B to allow Server A's IIS/php to write to the folder? I can copy files using Windows Explorer but of course that's with different user credentials.
I'd like to accomplish this task without adding an FTP server to Server B.