Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.
Forum Discussion
Rephoto
2 years agoHelpful | Level 5
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; ...
- 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.
Rephoto
Helpful | Level 5
I want to increase their upload speed, is there any other way? Thanks
Greg-DB
2 years agoDropbox Staff
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.
- Rephoto2 years agoHelpful | Level 5
I changed the code and there weren't any errors but the Entries returned all had a status of fales.
Can you tell me where I'm going wrong?
Thanks- Здравко2 years agoLegendary | Level 20
Rephoto, What are you doing? Batch is used when you want to upload multiple files at once, not to split one file upload and do pieces upload simultaneous!!! Use concurrent upload session to do that.
- Rephoto2 years agoHelpful | Level 5
Oh sorry,
I will investigate further :((
About Discuss Dropbox Developer & API
Make connections with other developers799 PostsLatest Activity: 5 days ago
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!