Hi all, I'm setting up a system to allow users to download PDF files from a server instead of them opening in the browser. The code to offer the file for download is this:
<cfheader name="Content-Disposition" value="attachment;filename=pdffile.pdf"> <cfcontent type="unknown/unknown" file="d:\website\files\pdffile.pdf"> So far so good, however when I test this on the Mac, its offering the filename as 'downloadfile.cfm' instead of 'pdffile.pdf'. This was happening on the PC before I put the CFHEADER line in it. Does anyone know what the syntax of the CFHEADER line should be so the Mac browser gives the user the correct filename? Or is there something else I need to let Mac users download the file? thanks! ----------------------- Ryan Sabir Newgency Pty Ltd 2a Broughton St Paddington 2021 Sydney, Australia Ph (02) 9331 2133 Fax (02) 9331 5199 Mobile: 0411 512 454 http://www.newgency.com/index.cfm?referer=rysig --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
