when downloading pdf or doc files, the system adds a .html extension.
When I download .pdf files from sites (one is my own biz site), when the file downloads into the download folder, the system automatically adds a .html to the extension. Which means i end up with a file name and pdf.html. of course it is not readable, and i have to go into the download folder, delete the added extension, and generally it will open. it sometimes does it to .doc files, so that i end up with .doc.html. any ideas on how to change this? I has occurred since my upgrade to snow leopard. i have 10.6.4. help if possible!
Solution
If the filename extension added by Safari is not accurate, delete the extension from the file name and the file should open in the correct application. If it does not, use Get Info in the Finder to force the file to open with a certain application, such as described here.
Additional information
Safari might add these extensions based on information received from the website about the file type. If file type sent by the server does not match the extension, Safari may append an extension to ensure the file is recognized by the Finder.
Open a Finder window. Select your Home Folder in the Sidebar on the left. Now on the right open the Library folder, then the Safari folder. Move this file to the Trash.
Downloads.plist
Relaunch Safari and try again.
If that didn't help, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file
com.apple.safari.plist to the Desktop.
Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
well, tried all of that Carolyn. thank you. however, still downloads pdfs/docs with the .html extension. not sure where to go from here. and as someone indicated it was a challenge since 2007, i am wondering if there is a solution. i have used this macbook for a couple of years and never had the prob until i upgraded to snow leopard and whatever update to safari came along. started about then, as i recall. weird. any other ideas?
thanks for letting me know it's been a prob for others and since 2007. that said, my prob didn't begin until the last six months or so on this mac i've been using for two years. so somethings up. i unchecked the option you noted and it didn't adjust things. thanks for trying!
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.
when downloading pdf or doc files, the system adds a .html extension.
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.