cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in learning how media industry leaders use Dropbox Replay? Register for our webinar here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

android file upload speed?

android file upload speed?

chlee
New member | Level 2

Use the file upload from the dropbox api to create an Android app. But upload speed is only about 30 kb. Is there a way to speed it up?

 

 

 

try {
InputStream inputStream = new FileInputStream(localFile);
if(type == Define.DROPBOX_IDCARD){
return mDbxClient.files().uploadBuilder("/id_card/" + remoteFileName)
.withMode(WriteMode.OVERWRITE)
.uploadAndFinish(inputStream);
}else if(type == Define.DROPBOX_SECRET){
return mDbxClient.files().uploadBuilder("/secret/" + remoteFileName)
.withMode(WriteMode.OVERWRITE)
.uploadAndFinish(inputStream);
}

} catch (DbxException | IOException e) {
mException = e;
}

 

 

1 Reply 1

Greg-DB
Dropbox Staff
There isn't a way to increase the speed using the API. Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds.

Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is outside of our control. Some ISPs also throttle sustained connections so if you see an initial high connection speed followed by lower speeds, that could be the reason.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?