Forum OpenACS Q&A: Re: Bboard attachments

Collapse
7: Re: Bboard attachments (response to 1)
Posted by Diego Manilla on
Vadmin, i've taken a look at "Content-Disposition" as you suggested and now i have the bboard attachments working as i wanted, returning the correct name of the file.

In ReturnHeaders proc (called by cr_write_content, the proc used by bboard to write attachments back to user) i added the line

Content-Disposition: attachment; filename=$filename

David, using underscores was not an option that satisfied us, buth thanks anyway.

And Tilmann, the link i put pointing to sdm.openacs.org was the result of a search in Google (vuh openacs, i think), i don't usually read the docs stored there, but thanks for the advice.

Thanks again