you want to do this:
<CFHEADER NAME="Content-Disposition" VALUE="attachment;
filename=filename.zip">
<cfcontent type="application/x-zip-compressed"
file="#request.downloadroot#\filename.zip" deletefile="No">
Steve Nelson
Christian Wip wrote:
>
> I need some help...
>
> 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.
>
> Any suggestions, custom tags, etc?
>
> Thanks, Christian.
>
> ------------------------------------------------------------------------------
> 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.
------------------------------------------------------------------------------
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.