You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
jimbobbles
4 months agoExplorer | Level 3
Is there a Java SDK equivalent of Swifty Dropbox batchUploadFiles function?
I just stumbled across batchUploadFiles in CustomRoutes.swift - it seems to be undocumented, but is an extremely useful high-level function which simplifies an awful lot of complex code required to do a batch upload (I wish I found this 3 days ago!). As it's undocumented I was wondering if there's a reason for that (eg is it unsafe or out of date or some other reason it shouldn't be used), and if there is an equivalent for the Java SDK hiding somewhere?
Thanks!
- Greg-DBDropbox Staff
You can use batchUploadFiles if that works for your use case, and I'll ask the team to add documentation for that. You can find some usage of it in the tests here.
The Java SDK doesn't have an equivalent unfortunately; I'll pass this along as a feature request but I can't promise if or when that might be implemented.
- jimbobblesExplorer | Level 3
That would be great, thank you. I think an equivalent high-level batch upload function for the Java SDK would be a valuable time saver for future developers, and would serve as a great template for those looking for some example code if they wanted to write their own - I've found batch uploading manually is quite complex!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,885 PostsLatest Activity: 5 years agoIf 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!