One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
chlee
8 years agoNew member | Level 2
android file upload speed?
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;
}
- 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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 22 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!