I have a community edition of Alfresco and whenever a new user is created on our database we have to copy a 'default' folder from a directory to the users directory in Alfresco (both the source and destiny directories are in Alfresco server).
I have found many recursive copy functions but none of them worked for me, since they use functions like opendir()
and dir()
which aren't available to use on a remote server.