cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out 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: 

How to get maximum upload size for an user and the mimetype of the file?

How to get maximum upload size for an user and the mimetype of the file?

Naga Abhinaya T
Explorer | Level 4

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 1

Re: How to get maximum upload size for an user and the mimetype of the file?

Greg-DB
Dropboxer

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.Quota information returned by DbxClient.getAccountInfo.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?