Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Dangerd
9 years agoNew member | Level 2
APIV1 ListDirectory lowercase issue
Trying to download files in folder, folder names Sometimes api returns normal character case, sometimes all are in lowercase: [.tag] => file
[name] => 50.jpg...
Greg-DB
Dropbox Community Moderator
9 years agoUnfortunately due to some specifics of how Dropbox is implemented, not all of the path components can be guaranteed to have the expected casing.
You can find more information on this in the "Path formats" section under:
https://www.dropbox.com/developers/documentation/http/documentation#formats
There's also some information in the documentation for "path_display" if you expand "FileMetadata", e.g., under:
https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata
FileMetadata.name will contain the case-preserved name, so the workaround would be to build the path up from that.
By the way, for reference, your title mentions API v1, but your output is actually from API v2.
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!