content-disposition header has to be served.

Content-Disposition: filename=yourfilename.ext

however it doesn't seem to be posible to serve an extra header if you are
serving a file with cfcontent.


anton maximov
programmer/analyst
IT, New Media


> -----Original Message-----
> From: John Crosby [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, November 15, 2000 1:30 PM
> To:   CF-Talk
> Subject:      Adding default file name to CFCONTENT download file.
> 
> 
>  Hello Everyone,
>       I'm looking for a way to designate the name of a file being
> downloaded to a
> users browser using CFCONTENT. Currectly the file name appears as
> 'index.cfm' when the user selects save to disk. I want to change this to
> 'somethingelse.txt' because it's a text file being downloaded. Thankyou
> for
> your help.
> 
> --------------------------------------------------------------------------
> ----------------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
> a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to