Hello. Please help me, I'm just not getting cfcontent!
First of all, I HAVE searched the archives, and tried everything I have
found, and gone through each example at
http://www.figleaf.com/demo/mimetest/.
My code looks like this:
<CFHEADER NAME="Content-Disposition" VALUE="attachment;
#variables.dl_zipname#">
<CFCONTENT TYPE="application/x-zip-compressed" FILE="#zipname#"
deletefile="Yes">
where variables.dl_zipname is the relative path to the file, and
variables.zipname is the absolute path.
In IE6, all of my testing and that of my helpers has resulted in getting
the download dialog box with the default filename being the page name with
a .zip extension. This is what I want.
In NS7, my testing has gotten the download dialog with the default filename
being the pagename.cfm.zip. I would like to know how to change this, but
it is acceptable.
So, with this status, we went live on Tuesday. Since then, we have had
3300 downloads, including two complaints. The first got
a file called pagename.cfm, but it was an actual zipfile and renaming it
did the trick. She was using IE6. However, the second one attached the
file that she downloaded, also using IE6, and it was the page source!
Does anyone have any idea how these things could happen, and how to avoid
them in the future? Also, how to get Netscape to stop putting .cfm on the
filename?
Thanks very much.
--
Carol Chandler
Stitchery Mall (http://www.stitcherymall.com)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4