title: Best Way to Pass Multiple Blob Inputs to a QueueTrigger Azure Function
body: <h3>The Problem</h3>
  <p>Upon a trigger, generate 3 XML files and once complete, ftp them to a site.</p>
  <h3>The Current Approach</h3>
  <p>I have a HTTP Trigger Azure function that when run will construct 3 XML files and save these to an Azure Storage Blob container. Because of the multiple outputs, and the need to control the output path/filenames, I use the
  <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-triggers-bindings#advanced-binding-at-runtime-imperative-binding" rel="noreferrer">imperative binding approach</a> and use the <code>IBinder outputBinder</code> in my function. This all works just fine. An example of the output path in the blob storage is <code>export/2017-03-22/file-2017-03-22T12.03.02.54.xml</code>. The file is in a folder with the date, and each filename has the time stamp to ensure uniqueness.</p>
  <p>When all 3 files are generated, I want to trigger another function that will sFTP these to a site. Now I initially thought that I should use a blob trigger, but I couldn't figure how how to trigger on inputs that whose filenames and paths were dynamic. I coudldn't find such an example in the <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob#trigger-usage" rel="noreferrer">blob trigger documentation</a>.</p>
  <p>So then I thought I could have my HTTP Trigger output to a declarative binding and also output the XML files into an <code>outgoing</code> container in my blob storage which my blob trigger could be looking at. This also works however because my function is on the consumption plan, there can be up to a <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob#storage-blob-trigger" rel="noreferrer">10-minute day in processing new blobs</a>.</p>
  <p>So the documented alternative is to use a queue trigger. I can output to my queue and have the queue trigger just fine, but how do I also pass the 3 XML streams to my QueueTrigger function?</p>
  <p>I suppose as a fall back, I can post an object that can contain the Azure Storage paths of the constructed XMLs and then use the Storage SDK to fetch the streams and use that to post to the FTP, but would it be more efficient to also pass those Storage Blob streams as an input to my QueueTrigger?</p>