We have a PHP application running on a LAMP-machine. But one of our clients persists on using Windows as their OS.
Apache on Windoz > works fine of course.
PHP > no problems.
Mysql > everything under control.
However our PHP application enables its users to upload HTML documents. On our LAMP system we are running a ProFTPD server, and for each new "proofreading project" a new Linux user is created through a shell script, called from PHP (i.e. a /home directory with an FTP upload directory recognized by ProFTPD is created).
Creating directories on a Windows machine isn't a big deal with PHP. But... what about the FTP server and FTP users???
There's loads of nifty little Windows FTP deamons (like Cerberus, Guild, War etc.). But all of these have there OWN user management.
How can I somehow create an FTP user with a password, "give" that user access to a freshly created directory somewhere in a safe location on a Windows machine, through a script, called from PHP?
One solution would be to use the same FTP user and password, but that would mean all PHP application users would have access to all projects.
I'm probably overlooking some very basic Windows user issues... Or getting rid of Apache and switching over to IIS + IIS FTP?
Feedback appreciated mucho!!