File attachments in MATLAB Answers open as links
Show older comments
When I try to download file attachments included with posts to MATLAB answers they instead open in my Chrome Web Browser. If they are text files I can still copy and paste them into a new document and then save them as a file, but for non text files, e.g. .mat files I can not see or use them at all. My OS is Windows 7, and as I mentioned my web browser is Google Chrome. I saw an earlier question which described the same problem back in 2015, https://www.mathworks.com/matlabcentral/answers/245817-forum-file-attachments-broke, but it wasn't clear to me what the solution if any was, from this thread.
Maybe there is something simple I am misunderstanding about how to use the MATLAB answers site.
If anyone knows, please let me know how I can download file attachments in MATLAB Answers rather than have them open in my web browser.
9 Comments
dpb
on 2 Jul 2019
Try right click to see if Chrome gives option to "Save Link"...
The Answers links for a long time always ended up having a .txt suffix added to whatever was the actual file name under Firefox, but I notice here recently that has apparently been fixed...not sure whether it was the fault of the browser or the forum coding style...
Rik
on 2 Jul 2019
I believe I have recently seen a thread (opened by Madhan?) where the culprit seemed to be the MIME encoding in Firefox. But as Alex suggests, 'save link as' should work. You could even manually remove an extra .txt that might be appended.
Browsers are a prime example of something that seems very simple, but is (and needs to be) surprisingly complicated under the hood.
dpb
on 2 Jul 2019
I've never noticed it elsewhere, either, altho I rarely download other files in a similar manner so don't really have much of a base by which to judge.
It was so prevalent w/ Answers that I can almost always just uparrow to retriive the start for the OS rename operation.
Jon
on 2 Jul 2019
Rik
on 2 Jul 2019
This thread tends to also get views from Mathworks staff. I'm considering opening a new one, as that thread is also getting slow to load and navigate due to its size.
dpb
on 3 Jul 2019
Indeed it has grown beyond facilities to easily manage...if were way to mark so no longer make anything except comments to existing Answers (so as to not preclude additional useful info on points made there), but prevent adding further Answers would be agoodthing to be able to do so.
Rik
on 3 Jul 2019
Guillaume
on 3 Jul 2019
Indeed there was a problem with firefox where mat files (and possibly other types) always ended up being saved with a .txt extension. Indeed it was started by Madhan and I was the one saying that it had to do with incorrect mine type. I've reported it directly to the Answer team and it appears to be fixed now.
As for reporting bugs with the forum, the answer wish list and bug reports is probably the best place as indeed the Answer devs do read it. Individual posts may work as well but they may get overlooked. If one of the CAB members spot the post they may point the devs at it. Raising a bug report through a service request should also work.
Thanks Rik for starting a new wish list, the current one was so unwieldy that I didn't bother opening it anymore.
Accepted Answer
More Answers (0)
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!