I think that the best (and easy) way to solve that problem is modifying the actual directory module. I'm working right now in this issue. Any clue?
Resource types
upload a file function
This discussion has been locked so you can no longer reply to it.