Forum Discussion
Microsoft Edge can't download, open and keep a file with a long name
josh_bodner yes the issue only occurs for files with long names which is common for emails which take on the subject as the file name
Chrome seems to handle any file length gracefully, if I put in a file name longer than windows can handle it just truncates it
from an end user perspective it doesn’t make sense why windows, outlook and edge (all MS products) wouldn’t work together whereas chrome does
- josh_bodnerMay 10, 2022Former EmployeeAh, so if there's a difference between Chrome and Edge, then I agree that it's a bug. I see two distinct modes of failure in Edge. If the file name alone is longer than the max path, saving explicitly is denied with an error dialog telling you the filename is invalid (which is a little misleading). Then, if the file name + the path is longer than max path, saving silently fails, and the download is still in its prompting state if you enabled the option to ask what to do with downloads.
In Chrome, I still get the explicit failure if the name alone is too long, but I do see slightly different behavior for the in-between case. In Chrome, it explicitly fails with a download error, which isn't quite what you're describing, but is still arguably better than what Edge is doing, so I'll ask the downloads team if we can get some better error detection.- JanMartin444May 11, 2022Copper Contributor"Then, if the file name + the path is longer than max path, saving silently fails"
Just to be clear, this isn't the case for me, "saving silently" (AKA with the "Ask me what to do with each download" disabled) is not failing - JanMartin444May 11, 2022Copper Contributor
josh_bodner Either way, if a download occurs without error with the "Ask me what to do with each download" disabled, it doesn't make sense (to a user) why enabling the setting would cause the download to fail
Also, responding to the other comment, I already have the path length limit removed on my machine (I'm a developer I think it was required for node packages) and I still get the error