I was hoping someone might point me to an example of the following.
in share I want to have a upload function that will upload the document to a specified directory changing to document name to the user_id.doc with a title of username and if the document exists create a new version.