How to stop Safari from automatically downloading files

We recently got macs at work which I am accustom to working on at home, however, my workflow has kind of changed at work in regards to the way I do things now. One thing that irritates me is that Safari seems to automatically download files instead of displaying them all in another tab or something. I don't want to have to have 20-100 downloaded files in my download folder!

Posted on Jun 28, 2012 8:33 AM

Reply
15 replies

Jun 28, 2012 9:06 AM in response to Neville Hillyer

Thanks, that only stops them from opening right away, which is kind of a step back from what I want.


I still want to be able to view the file, I just don't want it to be downloaded to a folder and I want to be able to view it in the browser.


What's odd is when I click a link that goes straight to PDF (something that ends in .pdf), it will open in the browser, but when I click something that is a pdf but isn't directly linked to a file, it downloads it, then opens. When we were on PCs and used any of those browsers, IE or Firefox, the same kind of link I would click would show it in a new tab. Now the same link sends it to the downloads folder (it does the animation where it shoots it to the upper right corner) and then it opens. The thing is, sometimes I have to click these types of links (they are an internal program we have that is browser based) 100 times a day, so, I really don't want to have my downloads folder cluttered with all sorts of files.


I may just have to switch to Firefox as it doesn't seem to do it there. Was just hoping to see if I could fix that in Safari as that's what I prefer to use.

Jun 28, 2012 1:27 PM in response to Brian Kastens

Which OS and Safari versions do you have?


Please paste the following into Terminal (in Utilities folder) and then hit return:


ls ~/Library/Preferences > ~/Desktop/preferences.txt


It will list Preference files in a text file called preferences.txt on your Desktop. Please open the file and see if it has a com.apple.LaunchServices.plist - If not please paste all com.apple items here.

Jun 28, 2012 1:57 PM in response to Neville Hillyer

That text file says I should have it. I still go to the link you gave me earlier and I don't see it. Searching "This Mac" for "launchServices" doesn't bring up anything except for the .txt file you had me create


AddressBookMe.plist

Adobe

Adobe Illustrator CS5.1 Settings

Adobe Mini Bridge CS5.1

Adobe Photoshop CS5.1 Paths

Adobe Photoshop CS5.1 Settings

Adobe Save For Web AI 15.1 Prefs

Agamik

ByHost

ExtendScript Toolkit

Macromedia

Microsoft

QuickTime Preferences

SDMHelpData

Shockwave 11 Preferences

StageManager.BD092818F67280F4B42B04877600987F0111B594.1

com.adobe.ARM.plist

com.adobe.ARM.plist.lockfile

com.adobe.CSXS.2.5.plist

com.adobe.CSXS.2.5.plist.lockfile

com.adobe.Photoshop.plist

com.adobe.Photoshop.plist.lockfile

com.adobe.Reader.plist

com.adobe.Reader.plist.lockfile

com.adobe.bridge4.1.plist

com.adobe.bridge4.1.plist.lockfile

com.adobe.crashreporter.plist

com.adobe.crashreporter.plist.lockfile

com.adobe.illustrator.plist

com.adobe.illustrator.plist.lockfile

com.adobe.mediabrowser.plist

com.adobe.mediabrowser.plist.lockfile

com.agamik.BarCoderApp.plist

com.agamik.BarCoderApp.plist.lockfile

com.apple.ATS.plist

com.apple.ATS.plist.lockfile

com.apple.AddressBook.plist

com.apple.AddressBook.plist.lockfile

com.apple.BezelServices.plist

com.apple.BezelServices.plist.lockfile

com.apple.BluetoothAudio.plist

com.apple.DirectoryUtility.plist

com.apple.DirectoryUtility.plist.lockfile

com.apple.DiskUtility.plist

com.apple.DiskUtility.plist.lockfile

com.apple.FaceTime.plist.lockfile

com.apple.FontBook.plist

com.apple.FontBook.plist.lockfile

com.apple.FontRegistry.user.plist

com.apple.FontRegistry.user.plist.lockfile

com.apple.LaunchServices.QuarantineEventsV2

com.apple.LaunchServices.plist

com.apple.LaunchServices.plist.lockfile

com.apple.PhotoBooth.plist

com.apple.PhotoBooth.plist.lockfile

com.apple.PreferenceSync.plist

com.apple.PreferenceSync.plist.lockfile

com.apple.Preview.LSSharedFileList.plist

com.apple.Preview.LSSharedFileList.plist.lockfile

com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist

com.apple.Preview.SandboxedPersistentURLs.LSSharedFileList.plist.lockfile

com.apple.Preview.plist

com.apple.Preview.plist.lockfile

com.apple.ProblemReporter.plist

com.apple.ProblemReporter.plist.lockfile

com.apple.PubSubAgent.plist

com.apple.PubSubAgent.plist.lockfile

com.apple.QuickTimePlayerX.LSSharedFileList.plist

com.apple.QuickTimePlayerX.LSSharedFileList.plist.lockfile

com.apple.QuickTimePlayerX.plist

com.apple.QuickTimePlayerX.plist.lockfile

com.apple.Safari.RSS.plist

com.apple.Safari.RSS.plist.lockfile

com.apple.Safari.plist

com.apple.Safari.plist.lockfile

com.apple.ServicesMenu.Services.plist

com.apple.ServicesMenu.Services.plist.lockfile

com.apple.SetupAssistant.plist

com.apple.SetupAssistant.plist.lockfile

com.apple.SoftwareUpdate.plist

com.apple.SoftwareUpdate.plist.lockfile

com.apple.SystemProfiler.plist

com.apple.SystemProfiler.plist.lockfile

com.apple.Terminal.plist

com.apple.Terminal.plist.lockfile

com.apple.TextEdit.LSSharedFileList.plist

com.apple.TextEdit.LSSharedFileList.plist.lockfile

com.apple.appstore.plist

com.apple.appstore.plist.lockfile

com.apple.archiveutility.plist

com.apple.archiveutility.plist.lockfile

com.apple.calculator.plist

com.apple.calculator.plist.lockfile

com.apple.conference.plist

com.apple.conference.plist.lockfile

com.apple.dashboard.client.plist

com.apple.dashboard.client.plist.lockfile

com.apple.dashboard.plist

com.apple.dashboard.plist.lockfile

com.apple.desktop.plist

com.apple.desktop.plist.lockfile

com.apple.diskimages.fsck

com.apple.dock.plist

com.apple.dock.plist.lockfile

com.apple.driver.AppleBluetoothMultitouch.mouse.plist

com.apple.driver.AppleBluetoothMultitouch.mouse.plist.lockfile

com.apple.driver.AppleBluetoothMultitouch.trackpad.plist

com.apple.driver.AppleBluetoothMultitouch.trackpad.plist.lockfile

com.apple.facetime.plist

com.apple.finder.plist

com.apple.finder.plist.lockfile

com.apple.frameworks.diskimages.uiagent.plist

com.apple.frameworks.diskimages.uiagent.plist.lockfile

com.apple.help.plist

com.apple.help.plist.lockfile

com.apple.helpviewer.plist

com.apple.helpviewer.plist.lockfile

com.apple.iApps.plist

com.apple.iApps.plist.lockfile

com.apple.iCal.helper.plist

com.apple.iCal.helper.plist.lockfile

com.apple.iCal.plist

com.apple.iCal.plist.lockfile

com.apple.iChat.AIM.plist

com.apple.iChat.AIM.plist.lockfile

com.apple.iChat.Jabber.plist

com.apple.iChat.Jabber.plist.lockfile

com.apple.iChat.Yahoo.plist

com.apple.iChat.Yahoo.plist.lockfile

com.apple.iTunes.eq.plist

com.apple.iTunes.eq.plist.lockfile

com.apple.iTunes.plist

com.apple.iTunes.plist.lockfile

com.apple.imagent.plist

com.apple.imagent.plist.lockfile

com.apple.imservice.FaceTime.plist

com.apple.imservice.FaceTime.plist.lockfile

com.apple.internetconfigpriv.plist

com.apple.internetconfigpriv.plist.lockfile

com.apple.loginitems.plist

com.apple.loginitems.plist.lockfile

com.apple.loginwindow.plist

com.apple.loginwindow.plist.lockfile

com.apple.mobile.iTunes.store.plist

com.apple.mobile.iTunes.store.plist.lockfile

com.apple.preference.desktopscreeneffect.plist

com.apple.preference.desktopscreeneffect.plist.lockfile

com.apple.print.PrinterProxy.plist

com.apple.print.PrinterProxy.plist.lockfile

com.apple.print.PrintingPrefs.plist

com.apple.print.PrintingPrefs.plist.lockfile

com.apple.print.add.plist

com.apple.print.add.plist.lockfile

com.apple.print.custompresets.forprinter.KONICA_MINOLTA_bizhub_C353_61_76_A9_.pl ist

com.apple.print.custompresets.forprinter.KONICA_MINOLTA_bizhub_C353_61_76_A9_.pl ist.lockfile

com.apple.print.custompresets.forprinter.LaserJet_4050TN.plist

com.apple.print.custompresets.forprinter.LaserJet_4050TN.plist.lockfile

com.apple.quicklookconfig.plist

com.apple.quicklookconfig.plist.lockfile

com.apple.quicktime.plugin.preferences.plist

com.apple.recentitems.plist

com.apple.recentitems.plist.lockfile

com.apple.scheduler.plist

com.apple.screensaver.plist

com.apple.screensaver.plist.lockfile

com.apple.security.plist

com.apple.sidebarlists.plist

com.apple.sidebarlists.plist.lockfile

com.apple.spaces.plist

com.apple.spaces.plist.lockfile

com.apple.storeagent.plist

com.apple.storeagent.plist.lockfile

com.apple.symbolichotkeys.plist

com.apple.symbolichotkeys.plist.lockfile

com.apple.syncserver.plist.lockfile

com.apple.systempreferences.plist

com.apple.systempreferences.plist.lockfile

com.apple.systemuiserver.plist

com.apple.systemuiserver.plist.lockfile

com.apple.universalaccess.plist

com.apple.universalaccess.plist.lockfile

com.grlgames.fulldecksolitaire.plist

com.grlgames.fulldecksolitaire.plist.lockfile

com.hqin.blackjackmachd.plist

com.hqin.blackjackmachd.plist.lockfile

com.microsoft.Excel.plist

com.microsoft.Excel.plist.lockfile

com.microsoft.Outlook.plist

com.microsoft.Outlook.plist.lockfile

com.microsoft.Word.plist

com.microsoft.Word.plist.lockfile

com.microsoft.autoupdate2.plist

com.microsoft.autoupdate2.plist.lockfile

com.microsoft.error_reporting.plist

com.microsoft.error_reporting.plist.lockfile

com.microsoft.office.plist

com.microsoft.office.plist.lockfile

com.microsoft.office.setupassistant.plist

com.microsoft.office.setupassistant.plist.lockfile

com.microsoft.outlook.database_daemon.plist

com.microsoft.outlook.database_daemon.plist.lockfile

com.microsoft.outlook.office_reminders.plist

com.microsoft.outlook.office_reminders.plist.lockfile

com.microsoft.rdc.LSSharedFileList.plist

com.microsoft.rdc.LSSharedFileList.plist.lockfile

com.microsoft.rdc.plist

com.microsoft.rdc.plist.lockfile

com.microsoft.visual_basic.plist

com.microsoft.visual_basic.plist.lockfile

com.spotify.client.plist

com.spotify.client.plist.lockfile

loginwindow.plist

loginwindow.plist.lockfile

org.cups.PrintingPrefs.plist

org.cups.PrintingPrefs.plist.lockfile

org.grunenberg.EasyFind.plist

org.grunenberg.EasyFind.plist.lockfile

org.mozilla.firefox.plist

org.mozilla.firefox.plist.lockfile

org.tempel.findanyfile.free.plist.lockfile

org.tempel.findanyfile.plist

org.tempel.findanyfile.plist.lockfile

pbs.plist

pbs.plist.lockfile

widget-com.apple.widget.calendar.plist

widget-com.apple.widget.calendar.plist.lockfile

widget-com.apple.widget.espn.plist

widget-com.apple.widget.espn.plist.lockfile

widget-com.apple.widget.manager.plist.lockfile

widget-com.apple.widget.weather.plist

widget-com.apple.widget.weather.plist.lockfile

Jun 29, 2012 7:37 AM in response to Neville Hillyer

5.1.6 on Safari.


Unfortunately, I can't provide a link as it's internal software we're running that requires a username and password to log in. This may actually be part of the problem, but seeing as how it worked just fine on PCs, I was hoping Safari would do the same. Maybe it's just not going to be possible, though.


What it does basically, is take a pdf (the one I can view and it opens in the browser window correctly) and places it on a "template" PDF (which is hidden to us) and opens it as another PDF, which is currently downloading, then opening.

Jun 29, 2012 7:54 AM in response to Brian Kastens

Unfortunately I am unable to take this further unless a way can be found for others to test it.


I propose that you try your own IT department as it could be an issue related to your intranet.


I am not sure what Safari does with incorrect mime types - something for you to get your IT department to look at just in case this is the problem - I suspect PCs tend to rely more on extensions than mime types.


All browsers download all resources but in this case you want it to be invisible and probably in RAM as it would be for eg an image.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to stop Safari from automatically downloading files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.