We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

Rephoto's avatar
Rephoto
Helpful | Level 5
2 years ago

Error while copying content to a stream in C#

Hi, I encountered the problem "Error while copying content to a stream" when executing the above code. Is there any way to fix it?   try         {             var chunkSize = 16 * 1024 * 1024; ...
  • Greg-DB's avatar
    Greg-DB
    2 years ago

    Rephoto If you wish to optimize your upload process, please refer to the Performance Guide: https://developers.dropbox.com/dbx-performance-guide

     

    That offers some ways you may be able to improve your effective overall upload speed. For example, there are batching and parallelization features you can use.

     

    For instance, as Здравко noted, the default upload session type is "sequential", but you can use "concurrent" to upload file pieces in parallel. That would require you to make some more changes to your code to properly send those pieces in parallel though.