cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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

Greg-DB
Dropbox Staff

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?