简体   繁体   中英

Check dropbox progress on large files

How to check dropbox progress on large files?

I'm trying to upload a 1.66 gb file to dropbox using core-api and Java. It is taking an extremely long time, (nearly 30 min) and I want to find the progress of the upload. This is my code for uploading:

DbxEntry.File uploadedFile = client.uploadFile("/BIGFILE.zip", 
    DbxWriteMode.add(), finalInputFile.length(), inputStream);

Perhaps it can be achieved by wrapping the InputStream in a ProgressMonitorInputStream . But make sure you do not block the Event Dispatch Thread, or it will freeze until completion.

See How to Use Progress Bars for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM