I've ran into some other amusing issues with CFCONTENT, and the only way I
found of getting IE to show a different filename was to add it on the URL
after the template for example:
www.mysite.com/download.cfm/report.csv
<http://www.mysite.com/download.cfm/report.csv> 

This works except you can not pass the CFID and CFTOKEN on the URL...

Can you please be more specific on this other method?

Regarding the "simultaneous" download - it's probably just javascript
launching the download by changing the window.location to the download file
URL, once the "thankyou" page is loaded.

        ----------
        From:  John Foulds [SMTP:[EMAIL PROTECTED]]
        Sent:  Friday, 25 August 2000 5:45
        To:  [EMAIL PROTECTED]
        Subject:  Re: how to bring up file download window with one click?

        > it should be fairly simple.

        HAHAHAHAHAHA!!!!

        It's a pain to even serve the correct filename and not the serving
template
        name in IE using cfcontent as a trigger.

        On a big bank job in the Spring, I found a fix using a little known
clause I
        discovered in RFC1867 (the original W3 file upload spec) and used it
to
        trigger the correct name from an autolaunch download template using
        cfcontent.

        If that is what you are trying, look into the [Content-disposition:
        attachment] clause.

        John Foulds
        Ottawa, Canada



        ----- Original Message -----
        From: "wish wish" <[EMAIL PROTECTED]>
        To: <[EMAIL PROTECTED]>
        Sent: Thursday, August 24, 2000 4:51 PM
        Subject: how to bring up file download window with one click?


        >
        > how to bring up file download window with one click?
        > like when you go adobe.com and download the acrobat reader.
        > after you type in name and email once you hit submit, you will go
to a
        thank
        > you page and at the same time the file download window appears ask
you if
        > you want to save file to disk or open it from its current
location.
        > how do you do it in CF?
        > it should be fairly simple.
        > thanks in advance.
        >
________________________________________________________________________
        > Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
        >
        >
--------------------------------------------------------------------------
        ----
        > To Unsubscribe visit
        
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
        send a message to [EMAIL PROTECTED] with
'unsubscribe' in
        the body.

        
----------------------------------------------------------------------------
--
        To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to