Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Dangerd's avatar
Dangerd
New member | Level 2
9 years ago

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
                    [path_lower] => /media/ready/22 morpeth road brampton, manny rodrigues/raw/50.jpg
                    [path_display] => /media/ready/22 morpeth road brampton, manny rodrigues/raw/50.jpg
                    [id] => id:4-SLqyMHQzAAAAAAAAByxw
                    [client_modified] => 2017-03-09T19:08:14Z
                    [server_modified] => 2017-03-10T05:36:23Z
                    [rev] => 3b2d30691b154
                    [size] => 2640198
                    [content_hash] => a36a55e022708935c19dd0e7c5e48ed8ef62477979348cd97ba299b02f1447fc
                )

path_display same as path_lower
while reading upper direcory:

           [10] => Array
                (
                    [.tag] => folder
                    [name] => 22 Morpeth Road Brampton, Manny Rodrigues
                    [path_lower] => /media/ready/22 morpeth road brampton, manny rodrigues
                    [path_display] => /media/Ready/22 Morpeth Road Brampton, Manny Rodrigues
                    [id] => id:4-SLqyMHQzAAAAAAAAByxg
                )

It has uppercase letters but first directory "media" is wrong, must be "Media"

How it can be fixed?

1 Reply

About Dropbox API Support & Feedback

Node avatar for 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!