Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Download CSV filename error #893
Hi all, the "Download CSV" feature generates a filename that doesn't open with my OS. For example I downloaded the file:
generates the error:
The file itself is ok. If I change the filename to something else it opens and works fine. I'm using macOS 10.13.6 with Excel.
I think the error is because of the length of the filename since when I reduce it by a few words it fixes the problem. If the filename was something short like
One of the difficulties with this is that maximum file name length does not just include the file name, but the length of the directory and any parent directories the file is stored in. For example, on Windows the default download folder is
Without a way to know the length of the
I tried to keep it "pretty" by truncating to the nearest "&" before the 150th character, so the filename isn't just cut off at a random point.
Let me know if this might work!