drive icon indicating copy to clipboard operation
drive copied to clipboard

File names with '/' are split into directories when pulled

Open yalon opened this issue 10 years ago • 1 comments

This is true for Linux:

If we have a Google Drive file called https://a/b/c/boardingpass.pdf when we pull we get a directory called https:, then a directory called a, then b, etc. till we get a boardingpass.pdf file, and not a file called https://a/b/c/boardingpass.pdf.

It might seem like an obscure issue, but Google's own "save to drive" and all the extensions that save to drive might create such a file name.

yalon avatar Nov 26 '14 07:11 yalon

In deed it is an issue even on other *NIX derived OS-es. Previously the escape route was just doing a mkdir -p equivalent since you cannot ordinarily create a file with the standard path separators in its path. I have a working prototype to address this and will get it up in a bit.

odeke-em avatar Dec 24 '14 01:12 odeke-em