I have many different document filetypes that should be downloadable by users. These include presentations, PDF, excel etc etc. May also be mac filetypes too.
I'd like it to be possible if the user can view the document before downloading it.
I've hunted around but found nothing except extension specific posts.
Any help appreciated
There are three ways to present content to a user:
The first two approaches are generic HTTP. The third has to be handled on a file-type by file-type basis since you need different renderers for each kind of content.