Forcing a linked file to be downloaded

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Mar 17 19:38:00 EDT 2009


Hi Sarah,

I have simply added a mime type on my server. I use "application/x- 
revolution". Your link is useful though, especially in case of  
downloadable but on-line generated data.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Snapper Screen Recorder is now available for Windows! Download it at <http://snapper.economy-x-talk.com 
 >.

On 18 mrt 2009, at 00:22, Sarah Reichelt wrote:

> We have all had problems when clicking a link to a rev file opens the
> file in the browser window instead of downloading it. Here is a link
> to an article indicating how to use php to force a link to be a
> download link:
> <http://webdesign.about.com/od/php/ht/force_download.htm>
>
> The example uses a pdf and includes this: 'Content-type: application/ 
> pdf'.
> What content-type should we use for .rev files? I haven't tested but I
> guess I would start with "Content-type: application/rev".
>
> Cheers,
> Sarah





More information about the use-livecode mailing list