You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

RealProgrammer's avatar
RealProgrammer
Explorer | Level 4
4 years ago

System.ArgumentNullException: when inititating concurrent upload

Hi, I've been working on a project and the requirement is to upload files to Dropbox concurrently and in chunks. So, I wrote the following code to accomplish the task.   I initiated the request usi...
  • Greg-DB's avatar
    4 years ago

    Apologies for the confusion. You can start a concurrent upload session in the .NET SDK by passing an empty body, like this:

    var uploadSessionStartResult = await _client.Files.UploadSessionStartAsync(sessionType: UploadSessionType.Concurrent.Instance, body: new MemoryStream());

     I'll ask the team to see if we can update the SDK to make this easier/more obvious in the future.