I did take a look at the file generator example but don't see how I can dynamically change the directory where the uploaded file will be stored. Your example shows how you can change the directory based on part of the filename within PrefixFolderFileNameGenerator.
My goal is an application that has several directories that uploaded files will be placed depending on the user. Again, I don't see how to pass the "upload to" directory from the session that initiates the upload process.
Thanks in advance for your help.