Force_Download.fwaction (2010-06-29) (Downloaded 107 times)
Compatible: Pro 4 and Pro 5
Author: Tim Plumb
As the title suggests this action uses PHP on the server to force the attached item to be downloaded when the user clicks the link. Typically the user’s browser will decide what to do with any given file type and will either display it in the browser window, hand it over to a plug-in to deal with in the browser, download the file and hand it over to helper application on the user’s machine or simply download the file. The PHP created by this action will force the browser to accept the file as a download regardless of how it would normally handle these files. For example you can use the action to easily force download PDF files that would normally display in the browser.
The item action allows you to create standard text links that when clicked will download the associated file. The included item action allows you to attach the action to any image (passthrough or otherwise) and use this as a link to your download file.