I’m using the Link To File action to get a .ics file to download from a simple text link, and ran into something a little confusing… the download keeps wanting to add .html to the end of the file extension.
Maybe I’m approaching this all wrong. I could lose the Link To File action and add the link the regular way - then either “Upload Extra Resources” or use Cyberduck to upload the .ics file - but just wondering what’s going on since it’s kind of unexpected behavior.
Make sure that your server knows what the proper mime-type is for an .ics file. It sounds like your server isn’t sending the correct content-type header along with the file, and so Safari is not trusting the file itself to give you the goods. Also, make sure that this .ics file actually ends in .ics, and isn’t actually .ics.html on your Mac. (Unless you have turned on the “always show file extensions” option in the Finder preferences, it is completely possible for you to have a file so named, and have it appear in Finder views to be .ics, when it is actually .ics.html.)
I could tell more about this if I could see an actual link to the page where this problem arises, on a server in public somewhere. You won’t be able to test this on your Mac locally, so if it’s failing there, don’t be at all surprised. The normal behavior when someone clicks on a link to an .ics file is that the file downloads, and triggers the registered helper application (iCal on a Mac, Outlook on a Windows computer) to handle it. This is how these things have worked since Netscape 0.8 was in short trousers.
Walter
On Mar 7, 2014, at 6:02 AM, Karen E wrote:
I’m using the Link To File action to get a .ics file to download from a simple text link, and ran into something a little confusing… the download keeps wanting to add .html to the end of the file extension.
Maybe I’m approaching this all wrong. I could lose the Link To File action and add the link the regular way - then either “Upload Extra Resources” or use Cyberduck to upload the .ics file - but just wondering what’s going on since it’s kind of unexpected behavior.
My file name is just .ics under Get Info
Open With: CalendarFileHandler
FinderPrefs/Show All Filename Extensions - on or off - makes no difference.
In the FW construction for the live instance I’ve used a text link - Edit Hyperlink/file: - along with upload extra resources. This way I’m able to get the information box rollover which I couldn’t otherwise easily get using - Insert/ActionItem/LinkToFile
Maybe it’s really OK and just acting up for me here? Your feedback is greatly appreciated.
My file name is just .ics under Get Info
Open With: CalendarFileHandler
FinderPrefs/Show All Filename Extensions - on or off - makes no difference.
In the FW construction for the live instance I’ve used a text link - Edit Hyperlink/file: - along with upload extra resources. This way I’m able to get the information box rollover which I couldn’t otherwise easily get using - Insert/ActionItem/LinkToFile
Maybe it’s really OK and just acting up for me here? Your feedback is greatly appreciated.
OK Thanks so much for the feedback Walter, this must have something to do with Safari on my system user account. I’m also getting “Page Not Found” now when clicking the link - but when I switched to another OSX user account it’s fine. ugh