At 01:11 PM 10/27/2000, you wrote:
>I would like to use the CFCONTENT tag (or equivalent tag) to download
>spreadsheets. However, I need to have the actual spreadsheet name rather
>than the cf template name appear as the default "save as" name.
>
>For example, if I call MY_FILE.XLS in a CFCONTENT tag located in
>SOME_CF.CFM, the default "save as" name offered by the browser will be
>SOME_CF.CFM rather than MY_FILE.XLS...
>
>For security reasons I don't want to give the client the straight URL to the
>actual document.

Greetings Christian,

This should help you out:

<cfheader name="content-disposition" value="attachment; filename=#myfilename#">
<cfcontent type="#mimetype#" file="#download_file#" deletefile="no">

Regards,
Stephen

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to