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?