Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Naga Abhinaya T
10 years agoExplorer | Level 4
How to get maximum upload size for an user and the mimetype of the file?
I am developing an app using Dropbox's java sdk (1.7.7). In the response for the list of files and folders, how do I get the mime type of the file?
Also how can I find the maximum upload size for any user so that they can be warned before uploading the file?
1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
The Java Core SDK doesn't currently expose mime type, but I'll be sure to pass this along as feedback.
You can keep your own file extension to mime type mapping if you'd like though. For example, you can find our groupings for the file types permission here:
https://www.dropbox.com/developers/reference/devguide#app-permissions
To get information on the available space in an account, you can check the
DbxAccountInfo.Quotainformation returned byDbxClient.getAccountInfo.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!