[Typo3] Making Filelinks "Download Only"
Oliver
oliver at liquidlight.co.uk
Thu Oct 20 12:10:31 CEST 2005
Hi Kevin,
You can use the 'Content-Disposition' header in order to force a
download prompt. Though this probably means you'll have to stream the
downloadable files through a custom PHP script in order to output the
required headers.
See http://elouai.com/force-download.php to see what I mean.
Hope this helps,
Oliver
Sebastiaan van Oyen wrote:
> I believe it is a browser specific item. IE will open Word or excel
> documents in the browser and Firefox will ask to save or to open. PDF
> for example will be opened in both by default (if adobe reader is
> installed), but with firefox there is an extension so that you can
> pick your choice.
>
> So I think this is not typo related but client related. What you could
> do is ofcourse put every file in a (seperate) zip file...
>
> Sebastiaan van Oyen
>
>
> On 10/19/05, Kevin Segraves <kevin at pmt.net> wrote:
>
>>Dear wise and all-knowledgeable,
>>
>>I'd like the ability to make files incorporated in the Filelinks element to
>>be downloaded by default upon mouse-click rather than opened in the browser.
>>Unfortunately, I'm baffled at the prospects of how to accomplish this in my
>>TYPO3 install. Can anyone steer me in the right direction?
>>
>>Thanks in advance,
>>
>>Kevin Segraves
>>Professional Marketing and Training, Inc.
>> <mailto:kevin at pmt.net>
>>
>>
>>
>>_______________________________________________
>>Typo3-english mailing list
>>Typo3-english at lists.netfielders.de
>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
More information about the TYPO3-english
mailing list