The Community is undergoing a major upgrade. Find out more, ask us questions or share your thoughts here.

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.

About Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 hours ago
323 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!