Carol Chandler wrote: > > <CFHEADER NAME="Content-Disposition" VALUE="attachment; > #variables.dl_zipname#">
Use: <CFHEADER NAME="Content-Disposition" VALUE="attachment; filename="""#variables.dl_zipname#"""> > <CFCONTENT TYPE="application/x-zip-compressed" FILE="#zipname#" > deletefile="Yes"> > 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. The code above should fix that. > 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. I am surprised it was only one complaint, considering the HTTP spec says you need to use "filename" in the content-disposition header. > However, the second one attached the > file that she downloaded, also using IE6, and it was the page source! If it was the HTML source, user error. If it was the CFML source, you have bigger problems. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

