question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uploading Files with Progress

See original GitHub issue

First things first, thx a million for this api its really good i got downloading with progress to work but i m still stuck at reporting progress when uploading files. I saw your ChunckUpload method and added this here to it var percentage = 100 * ((chunkSize * idx) / (double)stream.Length); int pValue = (int)Math.Ceiling((decimal)percentage); this.progressBar1.BeginInvoke((MethodInvoker)delegate() { progressBar1.Value = pValue; }); well the progressbar moves to 80 and stops there after the file is already uploaded.If you dont mind please add a small method or correct my code so all can enjoy your great api 😃

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
greg-dbcommented, May 1, 2020

@facebookegypt Yes, the feature request is for functionality that would be provided by the Dropbox SDK to inform your code of how much progress has been made in the upload to Dropbox, during the individual request.

1reaction
greg-dbcommented, Apr 23, 2020

@facebookegypt No, unfortunately the Dropbox .NET SDK still doesn’t offer native progress listeners, so you’d need to implement progress reporting in between chunks when uploading via upload sessions as discussed above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

File Upload Progress bar
File Upload Progress bar · Pen Settings · HTML · HTML · CSS · CSS · JS · JS · HTML5 File Upload...
Read more >
File Upload with Progress Bar in JavaScript & HTML
To implement a file upload with a progress bar in JavaScript, you can use the HTML5 File API and XMLHttpRequest (or the fetch...
Read more >
Uploading files with progress monitoring in VanillaJS ...
So, in this post we will see how to upload files asynchronously with JavaScript with progress monitoring. Step 1: Our backend. Yes, we...
Read more >
File Upload Progress Bar with JS and PHP
In this tutorial, we'll be creating a multiple file upload interface with a progress bar using JavaScript (AJAX) and PHP.
Read more >
File Upload with Progress Bar HTML CSS & JavaScript
First, you need to create four Files: HTML, CSS, JavaScript & PHP files. After creating these files just paste the following codes into...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found