Any comments on the original question?
We still have the same need, and no idea how to do it in Vosao -> Want to be able to force a file (let's say a PNG image) to be downloaded as an attachment, and avoid it being opened for viewing in the browser.
I would like a workaround now if possible, but in the spirit of being constructive I would suggest a feature request like this:
When you upload a new file to the resources area, have one or more additional fields:
- checkbox - "Force this file to be downloaded as an attachment" -> this would set Content-Disposition header when file is requested
- filename text field - "Enter the name for the file to be downloaded" -> this goes into the Content-Disposition header and what the download will be called.
if left blank, then use uploaded file name?
- mime-type text box - allow the user to enter a MIME type that overrides the default one calculated from the file extension
If the developers and others like that suggestion I can enter as a feature request, no?