title: 30Mb limit uploading to Azure DataLake using DataLakeStoreFileSystemManagementClient
body: <p>I am receiving an error when using </p>
  
  <pre><code>_adlsFileSystemClient.FileSystem.Create(_adlsAccountName, destFilePath, stream, overwrite)
  </code></pre>
  
  <p>to upload files to a datalake.  The error comes up with files over 30Mb. It works fine with smaller files. </p>
  
  <p>The error is:</p>
  
  <blockquote>
    <p>at
    Microsoft.Azure.Management.DataLake.Store.FileSystemOperations.d__16.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---    at
    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
    task)    at
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
    task)    at
    Microsoft.Azure.Management.DataLake.Store.FileSystemOperationsExtensions.d__23.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---    at
    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
    task)    at
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
    task)    at
    Microsoft.Azure.Management.DataLake.Store.FileSystemOperationsExtensions.Create(IFileSystemOperations
    operations, String accountName, String directFilePath, Stream
    streamContents, Nullable<code>1 overwrite, Nullable</code>1 syncFlag)    at
    AzureDataFunctions.DataLakeController.CreateFileInDataLake(String
    destFilePath, Stream stream, Boolean overwrite) in
    F:\GitHub\ZutoDW\ADF_ProcessAllFiles\ADF_ProcessAllFiles\DataLakeController.cs:line
    122</p>
  </blockquote>
  
  <p>Has anybody else encountered this?  Or observed similar behaviour? I am getting around this by splitting my files into 30Mb pieces and uploading them.  </p>
  
  <p>However this is impractical in the long term because the original file is 380Mb, and potentially quite a bit larger.  I do not want to have 10-15 dissected files in my datalake in the long term.  I would like to upload as a single file.  </p>
  
  <p>I am able to upload the exact same file to the datalake through the portal interface.</p>