I am working on an angular app
I have this function
`
vm.DownloadFile = function (item) { var a = document.createElement('A'); a.href = item.fileSourceUrl; a.download = item.fileSourceUrl.substr(item.fileSourceUrl.lastIndexOf('/') + 1); document.body.appendChild(a); a.click(); document.body.removeChild(a); }
`
This allows me to download files from my view using the url. It works fine, I can upload my files with this.
The problem I just noticed is that I cannot load .sql files. What for? Many file types work, .jpg , .pdf , .dwf ... everything except .sql
source share