dropbox-sdk-python icon indicating copy to clipboard operation
dropbox-sdk-python copied to clipboard

files_download_zip_to_file creates a zip with upper and lower duplicates folders

Open davidenitti opened this issue 6 years ago • 3 comments

when I use dbx.files_download_zip_to_file(...) if the folder to zip is in uppercase,e.g. ML with files and folders inside: file1 RL the zip contains duplicates folders (in apper and lower case) e.g. ml and ML, and RL and rl, some of such folders are empty other with the expected files.

davidenitti avatar Jun 18 '19 18:06 davidenitti

Thanks for the report! We'll look into it.

For our reference, are you running this on a case-sensitive file system?

greg-db avatar Jun 18 '19 20:06 greg-db

yes, linux

davidenitti avatar Jun 18 '19 21:06 davidenitti

Thank you for confirming that.

It looks like this is due to the combination of using a case-sensitive file system locally, and the fact that Dropbox itself is case-insensitive. We'll look into it, but I can't promise if/when we'd be ably to offer a fix.

greg-db avatar Jun 19 '19 14:06 greg-db