Results 1 to 13 of 13
  1. #1


    Member Since
    Jul 06, 2009
    Posts
    10
    Strange problem with Safari
    Sometimes when download different kinds of files, Safari adds the file extension .zip.
    Is there anyway to turn this off?

  2. #2

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,455
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    Safari does not add the .zip extension. The source of the content has zipped the file to reduce it's size and therefore save on their bandwidth, reduce the strain on their servers, reduce the amount of time it takes you to download the file, etc.
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  3. #3


    Member Since
    Jul 06, 2009
    Posts
    10
    No, I KNOW that safari adds the extension, since when i download the exact same file from the exact same location with firefox, it´s without the extension. And the thing is, I have to rename the file everytime since it´s not a Zip file.. very annoying.

  4. #4

    Collin Bl's Avatar
    Member Since
    Apr 07, 2009
    Location
    Napier NZ
    Posts
    3,292
    Specs:
    27 iMac i5, MBP 13 & iMac 20, 2TB dual TC, AppleTV, iPh4S
    No u Don't KNOW that - what safari and firefox shows is a function of this setting - see here in show info;


    Click for full size - [color=#A7A7A7]

  5. #5


    Member Since
    Jul 06, 2009
    Posts
    10
    What? nobody understands me?
    When i download, let´s say an .ipa file with safari, safari adds a .zip extension to that file, firefox does not. I was wondering if there is a way to turn this off in safari.

  6. #6


    Member Since
    Jul 06, 2009
    Posts
    10
    the file says after download xxxx.ipa.zip i then have to rename it, and remove the .zip extension to change the file.

  7. #7

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,455
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    Quote Originally Posted by Knutarn View Post
    the file says after download xxxx.ipa.zip i then have to rename it, and remove the .zip extension to change the file.
    How about giving us a couple of these file names and their location so we can check it out.

    It would be preferable if these were legal files and not cracked (or pirated) iPod and iPhone apps.
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  8. #8


    Member Since
    Jul 06, 2009
    Posts
    10
    It´s all of them, just some few times they got the correct file extension .ipa, (without the .zip.) with firefox they always get the correct one.

    remembered now that i had some problems with the addons for the open office aswell, getting strange file extensions..

  9. #9


    Member Since
    Jul 23, 2009
    Posts
    1
    I see this problem, too
    I know this doesn't help, but I'm having the exact same problem.

    I'm developing an iPhone app, and using Hudson to do nightly builds. So, one of the artifacts is my .ipa file.

    If a Firefox user goes to my webpage and downloads the .ipa, everything works fine, the file's name ends in .ipa.

    If a do the exact same thing in Safari, my app is now named "myapp.ipa.zip"

    Just dropping the .zip from the end of the file name fixes my problem. This is annoying, though, because I need special instructions for my testers. If they double-click this file, then it will get unpacked. Now I need to say "If you download with Safari, be sure to turn off automatic unpacking, and also rename the file when you are done"

  10. #10


    Member Since
    Aug 04, 2009
    Posts
    2
    Hey guys you don't have to always reply! Why do you think almost everybody is stupid?
    Knutarn is absolutely right!
    This is exactly a problem with Safari 4. However it doesn't look like a bug or something. I guess that since apple believes that the only way to download IPA files from internet is through iTunes, or else is almost always piracy, they have designed it as a simple and secret way to fight back.
    That's why you can NOT download an IPA file with Safari.
    It treats these files differently.

  11. #11


    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    The "problem" is that .ipa files use zip packaging and compression, and the web server is assigning them a MIME type of "application/zip" just like regular zip files.

    When Safari downloads the file, it notices the MIME type is the one for a ZIP file, and that the file is missing the correct extension, so it adds it on.

    So long as the web server is identifying .IPA files as regular ZIP files, Safari will add the ZIP extension. The only way around this is to change the MIME type on the server.

  12. #12


    Member Since
    Aug 04, 2009
    Posts
    2
    Are you suggesting that ONLY safari does this because it's actually more sophisticated than other browsers like FireFox and Opera?

  13. #13


    Member Since
    Jun 11, 2010
    Posts
    2
    Smile I have a solution :D
    I don't know if you ever found a solution, but for anyone else who finds this post.. here's the solution:

    In Safari, click on "Safari" in the top left corner (on the menu bar). Then click "Preferences...". Under the "General" tab, at the bottom untick (it should already be ticked) which says "Open "safe" files after downloading". Basically the .ipa is getting opened and the Archive Utility thinks it's something like a .tar and it opens it into a .zip. Anyways, here's the steps even simpler...

    > Open Safari
    > Click on "Safari" (top left corner on the menu bar)
    > Click "Preferences..."
    > Click on the "General" tab, if you aren't already there
    > Un-tick "Open "safe" files after downloading"

    Yay!

    Hope this helps someone!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Strange Message Using Safari
    By hschaars in forum OS X - Operating System
    Replies: 3
    Last Post: 07-08-2015, 10:32 PM
  2. Strange Safari problem
    By MacInWin in forum OS X - Apps and Games
    Replies: 5
    Last Post: 12-22-2014, 10:23 PM
  3. Strange behaviour in mail and safari - security problem?
    By sylmac in forum OS X - Operating System
    Replies: 0
    Last Post: 12-18-2011, 07:17 PM
  4. Strange symbols on Safari??
    By ashlexxx in forum Apple Notebooks
    Replies: 2
    Last Post: 08-02-2010, 01:55 PM
  5. Strange Safari slowdown
    By pmnapier in forum OS X - Apps and Games
    Replies: 4
    Last Post: 04-05-2005, 12:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •