My PHP
script is running of MAMP pro
on a Mac. It writes a file on a local folder and then copies the file to a Windows NTFS
folder in the same network domain as a system call. (I have paragon ntfs installed on mac to copy files to windows ntfs volumes and it works fine)
system("cp <source> /Volumes/Path/to/Windows/Folder/")
The problem is that the windows folder in the domain has write permission to my user login and this php script isn't able to write to it as its running of a web server. My server admin says that the write permissions can only be granted to the actual users. Is there a way i can pass my login data in cp
(or an equivalent command) so that I can write to the network folder from within my php script.