title: How to upload large file (~100mb) to Azure blob storage using Python SDK?
body: <p>I am using the latest Azure Storage SDK (azure-storage-blob-12.7.1). It works fine for smaller files but throwing exceptions for larger files &gt; 30MB.</p>
  <blockquote>
  <p>azure.core.exceptions.ServiceResponseError: ('Connection aborted.',
  timeout('The write operation timed out'))</p>
  </blockquote>
  <pre><code>from azure.storage.blob import BlobServiceClient, PublicAccess, BlobProperties,ContainerClient
  
      def upload(file):
          settings = read_settings()
          connection_string = settings['connection_string']
          container_client = ContainerClient.from_connection_string(connection_string,'backup')
          blob_client = container_client.get_blob_client(file)
          with open(file,&quot;rb&quot;) as data:
              blob_client.upload_blob(data)
              print(f'{file} uploaded to blob storage')
      
      upload('crashes.csv')
  </code></pre>