Closed ericfranz closed 8 years ago
https://github.com/AweSim-OSC/osc-fileexplorer/pull/106 fixes this for IE currently.
Looking for a solution that will work with MS Edge...
I noticed in Chrome that even after the content disposition is added it's still interpreting it as a Document. This may be the cause of the Edge issue.
I think we discovered at one point that the files are being downloaded in an iframe.
If that's the case, It may be a good idea to use a new tab instead.
Appears to be resolved by https://github.com/AweSim-OSC/osc-fileexplorer/pull/106
User is not prompted to save the files. Perhaps the headers are incorrectly set server-side?
It appears this header is not being set:
Since we already append
?download
to the file URL when downloading them, we can detect this in some express middleware and just set the content disposition header appropriately.