How can i get the size of a particular folder in DropBox using V2 call or V1 please solve this...?
The Dropbox API doesn't offer a direct way to get the total size of a folder's contents, but I'll pass this along as a feature request.
If you need to know the total size of the contents of a folder, you'd need to list all of the contents using /2/files/list_folder[/continue] and then sum up the `size`s for all of the files. (You can use the `recursive` parameter on /2/files/list_folder to request nested files too.)
@Greg-DB, Is it now possible to get the size of a folder?or we still need to do it manually as you said?
@bellomsean No, unfortunately the API still doesn't offer a way to do this directly, so you'd still need to calculate the sum.
Still need to calculate the sum?
@LouisCorleone Yes, that's correct. The Dropbox API still doesn't offer a way to retrieve this value directly.
I do suggest store the file size into database, which will be more faster to sum than call the api.
@julio_diniz_perdigao Thanks for the feedback!