A few things...
1) You don't need the <CFOUTPUT> tags around your <CFHEADER> and <CFCONTENT>
tags. Attribute values within CF tags always parse variables without the
need for a <CFOUTPUT> tag.
2) In your <CFHEADER> tag, change the VALUE attribute from "attachment;
#variables.attach#" to "attachment; filename=#variables.attach#". Note the
addition of the "filename=" portion. And, you didn't say it in your email,
but I'm assuming that the "variables.attach" variable contains the filename
that you would like the user to see.
HTH
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
-----Original Message-----
From: Carol Chandler [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 11:45 AM
To: CF-Talk
Subject: cfcontent - what am I missing?
I have searched the archives here, books, and forums at MM. My client says
that the download I gave her works for maybe half of her customers. Others
are getting .cfm files, or possibly something else that they can't use.
That is just not acceptable, you know? Here's the relevant code:
<cfoutput><CFHEADER NAME="Content-Disposition" VALUE="attachment;
#variables.attach#">
<CFCONTENT TYPE="application/x-zip-compressed" FILE="#form.userfile#"
deletefile="no"></cfoutput>
Am I missing an important clue, or is CF just the wrong thing to use for
downloads? My client is selling downloadable products, so this is crucial.
Thanks,
Carol Chandler
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

