I have a zip file on our webserver. I am trying the following code to allow the user to save the file to the local machine.
<cfheader name="Content-Disposition" value="attachment">
<cfcontent type="application/x-zip-compressed"
file="myzipfile" deletefile="no">
Problem is that it appears as though nothing is happening. The user is not being prompted to open or save. However, it does appear that the above code is executing because if it set deletefile="yes", the file is deleting after running the page.
Could this be a security issue with IE service pack 2?
How can I create a situation where the user is prompted to save or open the file?
Thank you very much in advance.
<cfheader name="Content-Disposition" value="attachment">
<cfcontent type="application/x-zip-compressed"
file="myzipfile" deletefile="no">
Problem is that it appears as though nothing is happening. The user is not being prompted to open or save. However, it does appear that the above code is executing because if it set deletefile="yes", the file is deleting after running the page.
Could this be a security issue with IE service pack 2?
How can I create a situation where the user is prompted to save or open the file?
Thank you very much in advance.