And for sub directories for each member, that solution can work but will make an extra step for the uploader.
A simple solution to that would be to have the files uploaded to a different directory and have a background script that monitors the upload directory and moves the files into the appropriate directory structure as they appear.
The only complication is ensuring that the file is fully uploaded before you attempt to move it. If you can open the file for exclusive access that's not a problem. If not, you might have to retain a list of files in the directory along with their sizes and only move them once the size hasn't changed for a minute or two.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] |