New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Strange problem with Safari


Post Reply New Thread Subscribe

 
Thread Tools
Knutarn

 
Member Since: Jul 06, 2009
Posts: 10
Knutarn is on a distinguished road

Knutarn is offline
Sometimes when download different kinds of files, Safari adds the file extension .zip.
Is there anyway to turn this off?
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 25,008
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
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.
QUOTE Thanks
Knutarn

 
Member Since: Jul 06, 2009
Posts: 10
Knutarn is on a distinguished road

Knutarn is offline
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.
QUOTE Thanks
Collin Bl

 
Collin Bl's Avatar
 
Member Since: Apr 07, 2009
Location: Napier NZ
Posts: 3,281
Collin Bl is a jewel in the roughCollin Bl is a jewel in the roughCollin Bl is a jewel in the rough
Mac Specs: 27 iMac i5, MBP 13 & iMac 20, 2TB dual TC, AppleTV, iPh4S

Collin Bl is offline
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]
QUOTE Thanks
Knutarn

 
Member Since: Jul 06, 2009
Posts: 10
Knutarn is on a distinguished road

Knutarn is offline
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.
QUOTE Thanks
Knutarn

 
Member Since: Jul 06, 2009
Posts: 10
Knutarn is on a distinguished road

Knutarn is offline
the file says after download xxxx.ipa.zip i then have to rename it, and remove the .zip extension to change the file.
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 25,008
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
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.
QUOTE Thanks
Knutarn

 
Member Since: Jul 06, 2009
Posts: 10
Knutarn is on a distinguished road

Knutarn is offline
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..
QUOTE Thanks
dmorrow

 
Member Since: Jul 23, 2009
Posts: 1
dmorrow is on a distinguished road

dmorrow is offline
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"
QUOTE Thanks
jafarkhan

 
Member Since: Aug 04, 2009
Posts: 2
jafarkhan is on a distinguished road

jafarkhan is offline
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.
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
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.
QUOTE Thanks
jafarkhan

 
Member Since: Aug 04, 2009
Posts: 2
jafarkhan is on a distinguished road

jafarkhan is offline
Are you suggesting that ONLY safari does this because it's actually more sophisticated than other browsers like FireFox and Opera?
QUOTE Thanks
jordanclark1993

 
Member Since: Jun 11, 2010
Posts: 2
jordanclark1993 is on a distinguished road

jordanclark1993 is offline
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!
QUOTE Thanks

Post Reply New Thread Subscribe


« 3d viewer for poser/3ds/max/obj files? | Copying images »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Very Strange Kinda Problem with Windows on my MacBook roshan_1789 Running Windows (or anything else) on your Mac 5 10-09-2008 02:13 PM
Strange Problem? cifp48 Switcher Hangout 5 09-26-2008 08:37 AM
Strange problem: websites time out on Leopard iMac...but load on PC!? MMM Web Design and Hosting 18 01-11-2008 12:01 AM
Safari 3 Printing resizing problem rcltrh OS X - Apps and Games 0 11-24-2007 10:22 PM
Strange Safari slowdown pmnapier OS X - Apps and Games 4 04-04-2005 11:29 PM

All times are GMT -4. The time now is 08:17 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?