dropbox / dropbox/dropbox-sdk-dotnet

Uploading Files with Progress

Open
#32 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
347
Forks
439
Avg merge
4m
Merged PRs (30d)
9

Description

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 :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.