RE: Push" and CFFILE Question - one more question!

2002-10-09 Thread Mosh Teitelbaum

I sent a response to that one too 8^).  Check the list.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -Original Message-
> From: Les Mizzell [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 1:06 AM
> To: CF-Talk
> Subject: RE: Push" and CFFILE Question - one more question!
>
>
> That worked!  Thanks...
>
> Now if I can solve the "cfinclude" inside the "cffile" problem I'm done!
>
> Les
>
>
>
> :> Stick the following code above the CFCONTENT tag:
> :>
> :> :>NAME="content-disposition"
> :>VALUE="attachment; filename=someFILE.fnm">Get the
> mailserver that
> powers this list at http://www.coolfusion.com
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Push" and CFFILE Question - one more question!

2002-10-09 Thread Les Mizzell

That worked!  Thanks...

Now if I can solve the "cfinclude" inside the "cffile" problem I'm done!

Les



:> Stick the following code above the CFCONTENT tag:
:>
:>NAME="content-disposition"
:>  VALUE="attachment; filename=someFILE.fnm">Get the mailserver that
powers this list at http://www.coolfusion.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: Push" and CFFILE Question - one more question!

2002-10-09 Thread Mosh Teitelbaum

Stick the following code above the CFCONTENT tag:



--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -Original Message-
> From: Les Mizzell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 10:46 PM
> To: CF-Talk
> Subject: RE: Push" and CFFILE Question - one more question!
>
>
> Hi,
>
> Still having a little bit of trouble. Hope you don't mind giving a little
> advice
>
> I'm successfully writing the required file to a directory on the server.
> Let's call the file "someFILE.fnm". (Basically a text file - the extension
> is required by the program that's going to open it later...)
>
> Next I'm doing this:
>
> On the page "pushFILE.cfm":
>
>file="c:\inetpub\hostroot\www.mySITE.com\files\someFILE.fnm"
>   deletefile="No">
>
> As soon as that file is written, the user needs a standard "Open"
> or "Save"
> alert box as the file is pushed to them.  Currently the file is opening as
> the page it's being called from ("pushFILE.cfm") in the browser, with
> "someFILE.fnm" as the content on that page.
>
> How can I get it to push "someFILE.fnm" at them, with the file name intact
> and the option to save?
>
> Hmmm
>
> Thanks...
>
> Les
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Push" and CFFILE Question - one more question!

2002-10-09 Thread Les Mizzell

Hi,

Still having a little bit of trouble. Hope you don't mind giving a little
advice

I'm successfully writing the required file to a directory on the server.
Let's call the file "someFILE.fnm". (Basically a text file - the extension
is required by the program that's going to open it later...)

Next I'm doing this:

On the page "pushFILE.cfm":



As soon as that file is written, the user needs a standard "Open" or "Save"
alert box as the file is pushed to them.  Currently the file is opening as
the page it's being called from ("pushFILE.cfm") in the browser, with
"someFILE.fnm" as the content on that page.

How can I get it to push "someFILE.fnm" at them, with the file name intact
and the option to save?

Hmmm

Thanks...

Les

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
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



RE: Push" and CFFILE Question

2002-10-09 Thread Alistair Davidson

Les

Write the file and then deliver it using CFCONTENT

HTH

Alistair

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 16:01
To: CF-Talk
Subject: Push" and CFFILE Question

Haven't done this before, looking for some pointers...

A. Page has a button on it to "Create File" from a database query
   (got no problem with this part)

B. When pressed, the file is created and "pushed" at the user, whom
would
immediately get a prompt to "Save" or "Open" the file.

Possible? The client wants one simple step to do this and would prefer
to
*not* have to browse/select the file after creation or click anything to
download. (Lazy, I know.)

Thanks,

Les
*
Happily using CFMX with
little or no problems...
*


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.