title: Reading files from Azure blob into Function App in Python
body: <p>I'm trying to read multiple files of same type from a container recursively from Azure blob storage in Python with Function App. But how could that be done using binding functions in host.json of orchestrator as shown below? What appropriate changes should be made in local settings as I've mentioned the conn strings and paths to blobs already in the same?</p>
  <pre><code>{
    &quot;scriptFile&quot;: &quot;__init__.py&quot;,
    &quot;bindings&quot;: [
      {
        &quot;name&quot;: &quot;context&quot;,
        &quot;type&quot;: &quot;orchestrationTrigger&quot;,
        &quot;direction&quot;: &quot;in&quot;
      },
      {
        &quot;name&quot;: &quot;inputblob&quot;,
        &quot;type&quot;: &quot;blob&quot;,
        &quot;dataType&quot;: &quot;string&quot;,
        &quot;path&quot;: &quot;test/{file_name}.pdf{queueTrigger}&quot;,
        &quot;connection&quot;: &quot;CONTAINER_CONN_STR&quot;,
        &quot;direction&quot;: &quot;in&quot;
      }
    ]
  }
  </code></pre>
  <p>*test : The directory I have.</p>
  <p>CONTAINER_CONN_STR : already specified path</p>
  <p>Also, when doing so, in normal method without binding, gives error while downloading the files to local system as given below:</p>
  <blockquote>
  <p>Exception: PermissionError: [Errno 13] Permission denied: 'analytics_durable_activity/'</p>
  <p>Stack:   File &quot;C:\Program Files\Microsoft\Azure Functions Core Tools\workers\python\3.8\WINDOWS\X64\azure_functions_worker\dispatcher.py&quot;, line 271, in _handle__function_load_request</p>
  <p>func = loader.load_function(</p>
  </blockquote>