Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Boris22
9 years agoExplorer | Level 3
Get Quota/ vb.net DropboxClient API
Hi, since one year i use a small "tool" to upload my files to DB periodically. Getting used space works fine too, but how can i request the total quota / remaining free space? Dim box = Await...
- 9 years ago
The GetSpaceUsageAsync method gives you a SpaceUsage object, which has Used (the amount of space used) and Allocation (the total storage quota) properties for the user.
So, you can do something like this (depending on account type):
var space = await this.client.Users.GetSpaceUsageAsync (); Console.WriteLine ("{0}/{1}", space.Used, space.Allocation.AsIndividual.Value.Allocated);
Greg-DB
Dropbox Community Moderator
9 years agoThe GetSpaceUsageAsync method gives you a SpaceUsage object, which has Used (the amount of space used) and Allocation (the total storage quota) properties for the user.
So, you can do something like this (depending on account type):
var space = await this.client.Users.GetSpaceUsageAsync ();
Console.WriteLine ("{0}/{1}", space.Used, space.Allocation.AsIndividual.Value.Allocated);Boris22
9 years agoExplorer | Level 3
Dear Greg,
you are my hero of the day ;-)
Thanks a lot, it works fine.
Thank you very much
Boris
you are my hero of the day ;-)
Thanks a lot, it works fine.
Thank you very much
Boris
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!