tus / tus-java-client

The tus client for Java.
https://tus.io
MIT License
213 stars 88 forks source link

listener bytes uploaded of chunk #38

Closed AlirezaGhanbarinia closed 3 years ago

AlirezaGhanbarinia commented 4 years ago

Hi How to get uploaded bytes of any chunk ?

when I upload small file for example 5 MB , progress bar wait and 50 percent show

Acconut commented 4 years ago

Tus-java-client does not offer a progress listener right now but instead uses the upload loop. If you want more fine-grained upload progress information, you can reduce the chunk size for the TusUploader instance:

// Upload the file in chunks of 1KB sizes.
uploader.setChunkSize(1024);
Acconut commented 3 years ago

Closing this issue due to inactivity. Feel free to leave a comment if you want to continue the discussion :)