Re: when delivering a file with cfcontent.
That did it! Cheers! > >file="E:\hosting\oursite\ourfiles\myfile.doc" deletefile="No"> > >Pascal > >> -Original Message- >> From: Protoculture [mailto:[EMAIL PROTECTED] >> Sent: 07 March 2005 10:49 >> To: CF-Talk >> Subject: Re: when delivering a file with cfcontent. >> >> I did that... but the only thing is now its saving whats supposed to >be a >> word doc... as the name of the current template( ie. >> 'current_template.cfm' as opposed to 'myfile.doc'. >> >> > type="unknown" >> reset="yes"/> >> >> ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197649 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: when delivering a file with cfcontent.
Pascal > -Original Message- > From: Protoculture [mailto:[EMAIL PROTECTED] > Sent: 07 March 2005 10:49 > To: CF-Talk > Subject: Re: when delivering a file with cfcontent. > > I did that... but the only thing is now its saving whats supposed to be a > word doc... as the name of the current template( ie. > 'current_template.cfm' as opposed to 'myfile.doc'. > > type="unknown" > reset="yes"/> > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197648 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: when delivering a file with cfcontent.
I did that... but the only thing is now its saving whats supposed to be a word doc... as the name of the current template( ie. 'current_template.cfm' as opposed to 'myfile.doc'. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197647 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: when delivering a file with cfcontent.
Set the MIME type to unknown Protoculture wrote: >On some windows machines it gives the user the option to save or open, on >others it opens up in the default application immediatley ( ie, word. Opens >open in a word like interface within the browser ). > >How can I force to have the default being ( open, save, cancel ) dialog box >appear every time? > > ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197646 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
when delivering a file with cfcontent.
On some windows machines it gives the user the option to save or open, on others it opens up in the default application immediatley ( ie, word. Opens open in a word like interface within the browser ). How can I force to have the default being ( open, save, cancel ) dialog box appear every time? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197645 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: delivering a file...
This can be done quite nicely with the following code: {HTML file page, can be any CF/HTML/other content, code below will send file as page attachment and popup a download box} #toString(fileContent})# Laterz, J On Thu, 03 Mar 2005 13:14:19 -0400, Protoculture <[EMAIL PROTECTED]> wrote: > I want my template to deliver ( start a download ) form the current template, > without opening a new window or calling a seperate template. Basically... I > need to run some processing in cf and then call the downloadhow can this > be done? > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197372 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
delivering a file...
I want my template to deliver ( start a download ) form the current template, without opening a new window or calling a seperate template. Basically... I need to run some processing in cf and then call the downloadhow can this be done? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197300 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54