Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
chlee
9 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;
}
1 Reply
Sort By
- 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.6,000 PostsLatest Activity: 38 minutes 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!