I have one Ensemble EnsLib.File.OutboundAdapter which has several methods, each writing a different file. In my Ensemble Production I have configured this FileAdapter to write to a certain directory, but i'd rather have each method write to a different (sub)directory instead of writing all files to the same directory. How can I achieve that without splitting the methods into different business operations?
The current code just sets the filename and the output:
I guess this means that if you code things to allow the requester to specify the filename you may wish to take precautions against a directory escape exploit.