You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Downloads automaticly renamed to zip
I thought this was a topic of the past, but to my surprise it still exists.When I download Powerpoint-presentations following for instance this link: http://www.botts-inc.net/downloads/presentations/SWE_Intro_and_Status_2011.pptx
Then Opera renames the pptx-file to a zip. It is a zip, but also a pptx (and most importantly so).
I had the same problem with akp-files on android using Opera Mobile, but that was fixed.
This file contents check and automatically renaming make Opera a browser only suitable for advanced users who is capable to understand where the error is.
Opera 11.62 1347
WinXP x86
Win 7x64 - HWA true - 6 GB RAM
Test in a standalone installation to see if it works there. If it does, it's just your settings.
But, if the server isn't sending the pptx file with a mime type of application/vnd.openxmlformats-officedocument.presentationml.presentation and is instead serving it as text/plain or application/zip, you'll have to add pptx to the text/plain or application/zip type under "ctrl + F12 -> advanced -> downloads" so that Opera knows that the pptx extension is allowed for that type.
I tested in my Opera and the linked file saves as a pptx file with no problem
But, if the server isn't sending the pptx file with a mime type of application/vnd.openxmlformats-officedocument.presentationml.presentation and is instead serving it as text/plain or application/zip, you'll have to add pptx to the text/plain or application/zip type under "ctrl + F12 -> advanced -> downloads" so that Opera knows that the pptx extension is allowed for that type.
I tested in my Opera and the linked file saves as a pptx file with no problem
Thanks for the fix, but still: I don't think Opera should behave like this.
If a put for instance an apk-file on my opera files location: http://files.myopera.com/amundgjersoe/software/InspectTDC01.apk
Then it will be downloaded as a zip and not lik a apk. I don't think many file servers like that adds mime type to its files.
It works as I expect in Opera 12, but not in Opera 11.62 (both home and at work)
If a put for instance an apk-file on my opera files location: http://files.myopera.com/amundgjersoe/software/InspectTDC01.apk
Then it will be downloaded as a zip and not lik a apk. I don't think many file servers like that adds mime type to its files.
It works as I expect in Opera 12, but not in Opera 11.62 (both home and at work)
Win 7x64 - HWA true - 6 GB RAM
Originally posted by amundgjersoe:
If a put for instance an apk-file on my opera files location: http://files.myopera.com/amundgjersoe/software/InspectTDC01.apk Then it will be downloaded as a zip and not lik a apk.
Downloads as an apk file in both Opera 11.62 and Opera 12 on Win7 x64 for me.
Strangely, when I tested the original link here it opened in Opera, and the Info panel said it was application/zip (which seems like a contradiction to me). On the other hand, when I use that http viewer page to see what they get (after a redirection) it is identified as text/plain. Something very strange with that link ...
Originally posted by sgunhouse:
On the other hand, when I use that http viewer page to see what they get (after a redirection) it is identified as text/plain.
That' what I initially used and then tried dragonfly. They both showed text/plain after the redirect. Both of them use Opera's UA string. I was never able to get it to be served as application/zip. But, in the case that it does get served as that, adding pptx to application/zip in preferences should fix it.
I have a similar problem since I upgraded to Opera 11. Every time I download Java (JDK & JRE) the file extension changes to...PDF.
Originally posted by amundgjersoe:
Thanks for the fix, but still: I don't think Opera should behave like this.
Yes, it should. Browsers must use the MIME type the server sends them. If the webmaster didn't configure his webserver correctly, Opera can't do much about it.
Edit: I believe Dragonfly will display text/plain if the server fails to send a MIME type. Browsers are supposed to apply MIME sniffing then, so perhaps this is why Opera identifies the pptx as zip.
Originally posted by burnout426:
I was never able to get it to be served as application/zip.
Tried with a fresh profile of 11.62 and now the file is showing up as a zip file. With a fresh profile of 12 beta, it works fine (as mentioned earlier). I think this is because of fixes Opera did to their internal list of known extensions for the zip mime type where Opera shouldn't force the zip extension (CORE-39801). See the change log in this build for example.
So, with 12, this *should* be a non-issue. But with 11.62, add the extensions you want to the zip type and it'll just work.