House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Allaire ColdFusion Studio

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
homesite+ comes on the dreamweaver cd
Tony Weeg
04/28/04 04:56 P
HomeSite+
Ben Densmore
04/28/04 04:58 P
Hello old dog, meet new tricks.
Adrocknaphobia
04/28/04 05:53 P
Bet my dog can beat up your trick. :)
Kenneth Wilson
04/28/04 06:15 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michael C.Grove
04/28/2004 04:50 PM

Is there a replacement for Cold Fusion Studio besides Dream Weaver? CF-Talk          28-Apr-04             Issue:967 In this issue:      CF based auctions...      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      CFLDAP and Win2k AD      CFMX 6.1 Setting: Maximum number of simultaneous requests      CFMX 6.1 Setting: Maximum number of simultaneous requests      CFMX 6.1 Setting: Maximum number of simultaneous requests      cfmx not picking up spooled messages      CF-Talk: Digest every 8 hours      Currency converter webservice      fusebox 4 documentation?      fusebox 4 documentation?      getTickCount inside lock      getTickCount inside lock      getTickCount inside lock      getTickCount inside lock      heap size with coldfusion      heap size with coldfusion      Intranets      Intranets      Intranets      Intranets      JS updating CF Array?      JS updating CF Array?      JS updating CF Array?      JS updating CF Array?      LDAP Connection stopped      Migrating datasource settings      Migrating datasource settings      Migrating datasource settings      Migrating datasource settings      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      OT; 2000 server system service      Pop Chart and Coldfusion      Pop Chart and Coldfusion      Postponing a cfhttp request      Postponing a cfhttp request      Postponing a cfhttp request      REMINDER: Security Patches      REMINDER: Security Patches      REMINDER: Security Patches      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      select all null fields?      select all null fields?      select all null fields?      sql question      Storing cfc's in server scope?      Storing cfc's in server scope?      Verity vs. Verity K2 Server      Why am I not getting a comma-delimited list?      Why am I not getting a comma-delimited list?      Words for US Currency      Words for US Currency      Words for US Currency ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: CF based auctions... From: "Che Vilnonis" <chevy@asitv.com> Date: Wed, 28 Apr 2004 15:49:21 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32213&forumid=4#161628 Are there any CF based auctions out there that anyone could recommend? Thanks, Che ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:18:36 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161557 Hi, I was hoping someone could help.  I am trying to do something and have tried a ton of variations, but have had no luck. why won't this write to a text file? <cffile action = "write" file = "write_greeting.cfm" output = "test"> thanks for any help, Kurt Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Adrocknaphobia" <adrocknatalk@speakeasy.net> Date: Wed, 28 Apr 2004 13:19:40 +0000 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161558 Could you show us the full code, and exactly what isn't working about it. Are you getting unplanned results or is cf throwing an error? Why are you trying to create a cfm? -adam ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:20:44 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161559 you may need to use the full path like c:\inetpub\wwwroot or it will likely throw the newly created file into some system directory or root path of something. are you getting errors? or are you just not getting the file in the place you are expecting? tony Hi, I was hoping someone could help.  I am trying to do something and have tried a ton of variations, but have had no luck. why won't this write to a text file? <cffile action = "write" file = "write_greeting.cfm" output = "test"> thanks for any help, Kurt Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Stephen Moretti <stephen@cfmaster.co.uk> Date: Wed, 28 Apr 2004 14:24:51 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161560 Kurt Dommermuth wrote: ----- Excess quoted text cut - see Original Post for more ----- It should write the file write_greeting.cfm into the current template folder with the content "test". Whats the error message you are getting? What are you actually trying to do by writing a cfm file? Stephen CFMX Hosting ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash Remoting, DreamweaverMX:: www.CFMXHosting.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:35:10 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161562 Hi Adam, The only code in my (write_greeting.cfm) test file is this... <cffile action = "write" file = "ccText.txt" output = "test"> (apologies, i put the wrong parameter in 'file' in my last email.) I have a little flash movie that loads in dynamic text from the file ccText.txt. I also have a little flash interface so my client can: - enter a greeting and change the contents of ccText.txt. I am using CF because it's just whats installed on this particular server (normally I'd use PHP!). Hope I'm clear!? thansk again At 01:19 PM 4/28/2004 +0000, you wrote: ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:38:27 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161563 Adam, had also asked if I was getting errors and I forgot to say that I wasn't. Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine where exactly I was in the directory structure and used this information as an absolute path.  still no luck. this is what it looked like when I tried that. <cffile action = "write" file = "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output = "test"> thank you, Kurt At 09:20 AM 4/28/2004 -0400, you wrote: ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:37:02 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161565 is this a shared hosting environment?  is cffile allowed? tony Adam, had also asked if I was getting errors and I forgot to say that I wasn't. Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine where exactly I was in the directory structure and used this information as an absolute path.  still no luck. this is what it looked like when I tried that. <cffile action = "write" file = "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output = "test"> thank you, Kurt At 09:20 AM 4/28/2004 -0400, you wrote: >you may need to use the full path like > >c:\inetpub\wwwroot> >or it will likely throw the newly created file into some system >directory or ----- Excess quoted text cut - see Original Post for more ----- tried ----- Excess quoted text cut - see Original Post for more ----- Fast >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings] > >---------- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:43:56 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161567 At 09:37 AM 4/28/2004 -0400, you wrote: >is this a shared hosting environment?  is cffile allowed? > >tony hmmmmmm.  good question. I suppose I have to contact the admin to find out? ----- Excess quoted text cut - see Original Post for more ----- 9.4> ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:42:56 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161568 possiblemente... At 09:37 AM 4/28/2004 -0400, you wrote: >is this a shared hosting environment?  is cffile allowed? > >tony hmmmmmm.  good question. I suppose I have to contact the admin to find out? ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Stephen Moretti <stephen@cfmaster.co.uk> Date: Wed, 28 Apr 2004 14:59:53 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161572 Tony Weeg wrote: ----- Excess quoted text cut - see Original Post for more ----- I would have expected a permission denied error if this was the case. Are you sure that the file isn't being written?  It might be a problem with flash reading the file rather than the file not being created. Incidently, you do realise that every user will see the same message?   If this is what you're after, then an easier way would just be to set a CF variable to the message (URLEncodedFormat)  and pass it directly into the flash using object/embed parameters.  No file writing involved - much more efficient. Stephen CFMX Hosting ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash Remoting, DreamweaverMX:: www.CFMXHosting.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 10:13:24 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161574 Hi Stephen, >I would have expected a permission denied error if this was the case. no. I didn't get any permission denied errors. >Are you sure that the file isn't being written? yes. >  It might be a problem >with flash reading the file rather than the file not being created. No.  this works well and I understand why you'd mention it, but I'm pretty experienced with flash. >Incidently, you do realise that every user will see the same message? >If this is what you're after, then an easier way would just be to set a >CF variable to the message (URLEncodedFormat)  and pass it directly >into the flash using object/embed parameters.  No file writing involved >- much more efficient. The message is for the client to write to the user.  It is meant to be seen by everyone, but it is also something that she can update as needed without having to deal with any internet innards....  just a flash interface. Thank you! Kurt ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Adrocknaphobia" <adrocknatalk@speakeasy.net> Date: Wed, 28 Apr 2004 14:49:50 +0000 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161581 If cffile was sandboxed, cf would blow with an error saying so. -adam ----- Excess quoted text cut - see Original Post for more ----- 9.4> ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 11:06:42 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161585 Just a follow-up.  the guy who normally does CF gave me this as a solution. <cfset the_path = ExpandPath("*.*")> <cfset this_directory = GetDirectoryFromPath(the_path)> <cffile action="write" file="#this_directory#\ccText.txt" output="centurycouncilmessage=test"> this works. but now, what I really want to do, and this is probably OT, but I hope you don't mind me asking anyway, is pass a variable called 'content' from flash to the above script with the exception that output="centurycouncilmessage=test" would really be output="centurycouncilmessag=#content#". anyone, using flash to talk to Cold fusion>? thanks again (and again!) Kurt At 02:49 PM 4/28/2004 +0000, you wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bryan Stevenson
04/28/2004 04:54 PM

HomeSite + next best thing...available on the Studio MX CD Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. bryan@electricedgesystems.com --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com   Is there a replacement for Cold Fusion Studio besides Dream Weaver?   CF-Talk          28-Apr-04             Issue:967   In this issue:        CF based auctions...        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        CFLDAP and Win2k AD        CFMX 6.1 Setting: Maximum number of simultaneous requests        CFMX 6.1 Setting: Maximum number of simultaneous requests        CFMX 6.1 Setting: Maximum number of simultaneous requests        cfmx not picking up spooled messages        CF-Talk: Digest every 8 hours        Currency converter webservice        fusebox 4 documentation?        fusebox 4 documentation?        getTickCount inside lock        getTickCount inside lock        getTickCount inside lock        getTickCount inside lock        heap size with coldfusion        heap size with coldfusion        Intranets        Intranets        Intranets        Intranets        JS updating CF Array?        JS updating CF Array?        JS updating CF Array?        JS updating CF Array?        LDAP Connection stopped        Migrating datasource settings        Migrating datasource settings        Migrating datasource settings        Migrating datasource settings        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        OT; 2000 server system service        Pop Chart and Coldfusion        Pop Chart and Coldfusion        Postponing a cfhttp request        Postponing a cfhttp request        Postponing a cfhttp request        REMINDER: Security Patches        REMINDER: Security Patches        REMINDER: Security Patches        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        select all null fields?        select all null fields?        select all null fields?        sql question        Storing cfc's in server scope?        Storing cfc's in server scope?        Verity vs. Verity K2 Server        Why am I not getting a comma-delimited list?        Why am I not getting a comma-delimited list?        Words for US Currency        Words for US Currency        Words for US Currency   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: CF based auctions...   From: "Che Vilnonis" <chevy@asitv.com>   Date: Wed, 28 Apr 2004 15:49:21 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32213&forumid=4#161628   Are there any CF based auctions out there that anyone could recommend?   Thanks, Che   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:18:36 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161557   Hi,   I was hoping someone could help.  I am trying to do something and have   tried a ton of variations, but have had no luck.   why won't this write to a text file?   <cffile action = "write" file = "write_greeting.cfm" output = "test">   thanks for any help,   Kurt   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Adrocknaphobia" <adrocknatalk@speakeasy.net>   Date: Wed, 28 Apr 2004 13:19:40 +0000   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161558   Could you show us the full code, and exactly what isn't working about   it. Are you getting unplanned results or is cf throwing an error?   Why are you trying to create a cfm?   -adam   > Hi,   >   > I was hoping someone could help.  I am trying to do something and have   > tried a ton of variations, but have had no luck.   >   > why won't this write to a text file?   >   > <cffile action = "write" file = "write_greeting.cfm" output = "test">   >   > thanks for any help,   > Kurt   >   > Kurt Dommermuth   > Head Woodsman: http://www.punch-me.com   > Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >   >   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:20:44 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161559   you may need to use the full path like   c:\inetpub\wwwroot   or it will likely throw the newly created file into some system   directory or root path of something.   are you getting errors? or are you just not getting the file in the   place you are expecting?   tony   Hi,   I was hoping someone could help.  I am trying to do something and have   tried a ton of variations, but have had no luck.   why won't this write to a text file?   <cffile action = "write" file = "write_greeting.cfm" output = "test">   thanks for any help,   Kurt   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Stephen Moretti <stephen@cfmaster.co.uk>   Date: Wed, 28 Apr 2004 14:24:51 +0100   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161560   Kurt Dommermuth wrote:   > Hi,   >   > I was hoping someone could help.  I am trying to do something and have   > tried a ton of variations, but have had no luck.   >   > why won't this write to a text file?   >   > <cffile action = "write" file = "write_greeting.cfm" output = "test">   It should write the file write_greeting.cfm into the current template   folder with the content "test".   Whats the error message you are getting?   What are you actually trying to do by writing a cfm file?   Stephen   CFMX Hosting   ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   Remoting, DreamweaverMX:: www.CFMXHosting.co.uk   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:35:10 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161562   Hi Adam,   The only code in my (write_greeting.cfm) test file is this...   <cffile action = "write" file = "ccText.txt" output = "test">   (apologies, i put the wrong parameter in 'file' in my last email.)   I have a little flash movie that loads in dynamic text from the file   ccText.txt.   I also have a little flash interface so my client can:   - enter a greeting and change the contents of ccText.txt.   I am using CF because it's just whats installed on this particular   server   (normally I'd use PHP!).   Hope I'm clear!?   thansk again   At 01:19 PM 4/28/2004 +0000, you wrote:   >Could you show us the full code, and exactly what isn't working about   >it.   >Are you getting unplanned results or is cf throwing an error?   >   >Why are you trying to create a cfm?   >   >-adam   >   > > Hi,   > >   > > I was hoping someone could help.  I am trying to do something and   > > have tried a ton of variations, but have had no luck.   > >   > > why won't this write to a text file?   > >   > > <cffile action = "write" file = "write_greeting.cfm" output =   > > "test">   > >   > > thanks for any help,   > > Kurt   > >   > > Kurt Dommermuth   > > Head Woodsman: http://www.punch-me.com   > > Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >   > >   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161558>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:38:27 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161563   Adam, had also asked if I was getting errors and I forgot to say that I   wasn't.   Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   where exactly I was in the directory structure and used this information   as   an absolute path.  still no luck.   this is what it looked like when I tried that.   <cffile action = "write" file =   "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   "test">   thank you,   Kurt   At 09:20 AM 4/28/2004 -0400, you wrote:   >you may need to use the full path like   >   >c:\inetpub\wwwroot>   >or it will likely throw the newly created file into some system   >directory or root path of something.   >   >are you getting errors? or are you just not getting the file in the   >place you are expecting?   >   >tony   >   >Hi,   >   >I was hoping someone could help.  I am trying to do something and have   >tried a ton of variations, but have had no luck.   >   >why won't this write to a text file?   >   ><cffile action = "write" file = "write_greeting.cfm" output = "test">   >   >thanks for any help,   >Kurt   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:37:02 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161565   is this a shared hosting environment?  is cffile allowed?   tony   Adam, had also asked if I was getting errors and I forgot to say that I   wasn't.   Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   where exactly I was in the directory structure and used this information   as an absolute path.  still no luck.   this is what it looked like when I tried that.   <cffile action = "write" file =   "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   "test">   thank you,   Kurt   At 09:20 AM 4/28/2004 -0400, you wrote:   >you may need to use the full path like   >   >c:\inetpub\wwwroot>   >or it will likely throw the newly created file into some system   >directory   or   >root path of something.   >   >are you getting errors? or are you just not getting the file in the   >place you are expecting?   >   >tony   >   >Hi,   >   >I was hoping someone could help.  I am trying to do something and have   tried   >a ton of variations, but have had no luck.   >   >why won't this write to a text file?   >   ><cffile action = "write" file = "write_greeting.cfm" output = "test">   >   >thanks for any help,   >Kurt   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>   Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:43:56 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161567   At 09:37 AM 4/28/2004 -0400, you wrote:   >is this a shared hosting environment?  is cffile allowed?   >   >tony   hmmmmmm.  good question.   I suppose I have to contact the admin to find out?   >Adam, had also asked if I was getting errors and I forgot to say that I   >wasn't.   >   >Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   >where exactly I was in the directory structure and used this   >information as an absolute path.  still no luck.   >   >this is what it looked like when I tried that.   >   ><cffile action = "write" file =   >"D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   >"test">   >   >thank you,   >Kurt   >   >   >At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   >or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   >tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com   > >Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   9.4>   >Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161565>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:42:56 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161568   possiblemente...   At 09:37 AM 4/28/2004 -0400, you wrote:   >is this a shared hosting environment?  is cffile allowed?   >   >tony   hmmmmmm.  good question.   I suppose I have to contact the admin to find out?   >Adam, had also asked if I was getting errors and I forgot to say that I   >wasn't.   >   >Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   >where exactly I was in the directory structure and used this   >information as an absolute path.  still no luck.   >   >this is what it looked like when I tried that.   >   ><cffile action = "write" file =   >"D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   >"test">   >   >thank you,   >Kurt   >   >   >At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   >or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   >tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com Something fun for the itty   > >bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   > >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.11   > >829.4>   >Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161565>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast Unsubscribe] [<http://www.houseoffusion.com/signin/>User   >Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Stephen Moretti <stephen@cfmaster.co.uk>   Date: Wed, 28 Apr 2004 14:59:53 +0100   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161572   Tony Weeg wrote:   > possiblemente...   >   > At 09:37 AM 4/28/2004 -0400, you wrote:   > >is this a shared hosting environment?  is cffile allowed?   > >   > >tony   >   > hmmmmmm.  good question.   >   > I suppose I have to contact the admin to find out?   I would have expected a permission denied error if this was the case.   Are you sure that the file isn't being written?  It might be a problem   with flash reading the file rather than the file not being created.   Incidently, you do realise that every user will see the same message?     If this is what you're after, then an easier way would just be to set a   CF variable to the message (URLEncodedFormat)  and pass it directly into   the flash using object/embed parameters.  No file writing involved -   much more efficient.   Stephen   CFMX Hosting   ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   Remoting, DreamweaverMX:: www.CFMXHosting.co.uk   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 10:13:24 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161574   Hi Stephen,   >I would have expected a permission denied error if this was the case.   no. I didn't get any permission denied errors.   >Are you sure that the file isn't being written?   yes.   >  It might be a problem   >with flash reading the file rather than the file not being created.   No.  this works well and I understand why you'd mention it, but I'm   pretty   experienced with flash.   >Incidently, you do realise that every user will see the same message?   >If this is what you're after, then an easier way would just be to set a   >CF variable to the message (URLEncodedFormat)  and pass it directly   >into the flash using object/embed parameters.  No file writing involved   >- much more efficient.   The message is for the client to write to the user.  It is meant to be   seen   by everyone, but it is also something that she can update as needed   without   having to deal with any internet innards....  just a flash interface.   Thank you!   Kurt   >Stephen   >   >CFMX Hosting   >::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   >Remoting, DreamweaverMX::   >www.CFMXHosting.co.uk   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161572>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Adrocknaphobia" <adrocknatalk@speakeasy.net>   Date: Wed, 28 Apr 2004 14:49:50 +0000   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161581   If cffile was sandboxed, cf would blow with an error saying so.   -adam   > is this a shared hosting environment?  is cffile allowed?   >   > tony   >   > Adam, had also asked if I was getting errors and I forgot to say that   > I wasn't.   >   > Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   > where exactly I was in the directory structure and used this   > information as an absolute path.  still no luck.   >   > this is what it looked like when I tried that.   >   > <cffile action = "write" file =   > "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   > "test">   >   >   > thank you,   > Kurt   >   >   >   >   > At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   > or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   > tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com   > >Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   9.4>   > Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   > Kurt Dommermuth   > Head Woodsman: http://www.punch-me.com   > Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >   >   >   >   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 11:06:42 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161585   Just a follow-up.  the guy who normally does CF gave me this as a   solution.   <cfset the_path = ExpandPath("*.*")>   <cfset this_directory = GetDirectoryFromPath(the_path)>   <cffile action="write" file="#this_directory#\ccText.txt"   output="centurycouncilmessage=test">   this works.   but now, what I really want to do, and this is probably OT, but I hope   you   don't mind me asking anyway, is pass a variable called 'content' from   flash   to the above script with the exception that   output="centurycouncilmessage=test" would really be   output="centurycouncilmessag=#content#".   anyone, using flash to talk to Cold fusion>?   thanks again (and again!)   Kurt   At 02:49 PM 4/28/2004 +0000, you wrote:   >If cffile was sandboxed, cf would blow with an error saying so.   >   >-adam   >   > > is this a shared hosting environment?  is cffile allowed?   > >   > > tony   > >   > > Subject: RE: cf newbie trying to

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tony Weeg
04/28/2004 04:56 PM

homesite+ comes on the dreamweaver cd Is there a replacement for Cold Fusion Studio besides Dream Weaver? CF-Talk          28-Apr-04             Issue:967 In this issue:      CF based auctions...      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      CFLDAP and Win2k AD      CFMX 6.1 Setting: Maximum number of simultaneous requests      CFMX 6.1 Setting: Maximum number of simultaneous requests      CFMX 6.1 Setting: Maximum number of simultaneous requests      cfmx not picking up spooled messages      CF-Talk: Digest every 8 hours      Currency converter webservice      fusebox 4 documentation?      fusebox 4 documentation?      getTickCount inside lock      getTickCount inside lock      getTickCount inside lock      getTickCount inside lock      heap size with coldfusion      heap size with coldfusion      Intranets      Intranets      Intranets      Intranets      JS updating CF Array?      JS updating CF Array?      JS updating CF Array?      JS updating CF Array?      LDAP Connection stopped      Migrating datasource settings      Migrating datasource settings      Migrating datasource settings      Migrating datasource settings      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      OT; 2000 server system service      Pop Chart and Coldfusion      Pop Chart and Coldfusion      Postponing a cfhttp request      Postponing a cfhttp request      Postponing a cfhttp request      REMINDER: Security Patches      REMINDER: Security Patches      REMINDER: Security Patches      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      select all null fields?      select all null fields?      select all null fields?      sql question      Storing cfc's in server scope?      Storing cfc's in server scope?      Verity vs. Verity K2 Server      Why am I not getting a comma-delimited list?      Why am I not getting a comma-delimited list?      Words for US Currency      Words for US Currency      Words for US Currency ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: CF based auctions... From: "Che Vilnonis" <chevy@asitv.com> Date: Wed, 28 Apr 2004 15:49:21 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32213&forumid=4#161628 Are there any CF based auctions out there that anyone could recommend? Thanks, Che ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:18:36 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161557 Hi, I was hoping someone could help.  I am trying to do something and have tried a ton of variations, but have had no luck. why won't this write to a text file? <cffile action = "write" file = "write_greeting.cfm" output = "test"> thanks for any help, Kurt Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Adrocknaphobia" <adrocknatalk@speakeasy.net> Date: Wed, 28 Apr 2004 13:19:40 +0000 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161558 Could you show us the full code, and exactly what isn't working about it. Are you getting unplanned results or is cf throwing an error? Why are you trying to create a cfm? -adam ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:20:44 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161559 you may need to use the full path like c:\inetpub\wwwroot or it will likely throw the newly created file into some system directory or root path of something. are you getting errors? or are you just not getting the file in the place you are expecting? tony Hi, I was hoping someone could help.  I am trying to do something and have tried a ton of variations, but have had no luck. why won't this write to a text file? <cffile action = "write" file = "write_greeting.cfm" output = "test"> thanks for any help, Kurt Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Stephen Moretti <stephen@cfmaster.co.uk> Date: Wed, 28 Apr 2004 14:24:51 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161560 Kurt Dommermuth wrote: ----- Excess quoted text cut - see Original Post for more ----- It should write the file write_greeting.cfm into the current template folder with the content "test". Whats the error message you are getting? What are you actually trying to do by writing a cfm file? Stephen CFMX Hosting ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash Remoting, DreamweaverMX:: www.CFMXHosting.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:35:10 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161562 Hi Adam, The only code in my (write_greeting.cfm) test file is this... <cffile action = "write" file = "ccText.txt" output = "test"> (apologies, i put the wrong parameter in 'file' in my last email.) I have a little flash movie that loads in dynamic text from the file ccText.txt. I also have a little flash interface so my client can: - enter a greeting and change the contents of ccText.txt. I am using CF because it's just whats installed on this particular server (normally I'd use PHP!). Hope I'm clear!? thansk again At 01:19 PM 4/28/2004 +0000, you wrote: ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:38:27 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161563 Adam, had also asked if I was getting errors and I forgot to say that I wasn't. Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine where exactly I was in the directory structure and used this information as an absolute path.  still no luck. this is what it looked like when I tried that. <cffile action = "write" file = "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output = "test"> thank you, Kurt At 09:20 AM 4/28/2004 -0400, you wrote: ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:37:02 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161565 is this a shared hosting environment?  is cffile allowed? tony Adam, had also asked if I was getting errors and I forgot to say that I wasn't. Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine where exactly I was in the directory structure and used this information as an absolute path.  still no luck. this is what it looked like when I tried that. <cffile action = "write" file = "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output = "test"> thank you, Kurt At 09:20 AM 4/28/2004 -0400, you wrote: >you may need to use the full path like > >c:\inetpub\wwwroot> >or it will likely throw the newly created file into some system >directory or ----- Excess quoted text cut - see Original Post for more ----- tried ----- Excess quoted text cut - see Original Post for more ----- Fast >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings] > >---------- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:43:56 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161567 At 09:37 AM 4/28/2004 -0400, you wrote: >is this a shared hosting environment?  is cffile allowed? > >tony hmmmmmm.  good question. I suppose I have to contact the admin to find out? ----- Excess quoted text cut - see Original Post for more ----- 9.4> ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:42:56 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161568 possiblemente... At 09:37 AM 4/28/2004 -0400, you wrote: >is this a shared hosting environment?  is cffile allowed? > >tony hmmmmmm.  good question. I suppose I have to contact the admin to find out? ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Stephen Moretti <stephen@cfmaster.co.uk> Date: Wed, 28 Apr 2004 14:59:53 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161572 Tony Weeg wrote: ----- Excess quoted text cut - see Original Post for more ----- I would have expected a permission denied error if this was the case. Are you sure that the file isn't being written?  It might be a problem with flash reading the file rather than the file not being created. Incidently, you do realise that every user will see the same message?   If this is what you're after, then an easier way would just be to set a CF variable to the message (URLEncodedFormat)  and pass it directly into the flash using object/embed parameters.  No file writing involved - much more efficient. Stephen CFMX Hosting ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash Remoting, DreamweaverMX:: www.CFMXHosting.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 10:13:24 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161574 Hi Stephen, >I would have expected a permission denied error if this was the case. no. I didn't get any permission denied errors. >Are you sure that the file isn't being written? yes. >  It might be a problem >with flash reading the file rather than the file not being created. No.  this works well and I understand why you'd mention it, but I'm pretty experienced with flash. >Incidently, you do realise that every user will see the same message? >If this is what you're after, then an easier way would just be to set a >CF variable to the message (URLEncodedFormat)  and pass it directly >into the flash using object/embed parameters.  No file writing involved >- much more efficient. The message is for the client to write to the user.  It is meant to be seen by everyone, but it is also something that she can update as needed without having to deal with any internet innards....  just a flash interface. Thank you! Kurt ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Adrocknaphobia" <adrocknatalk@speakeasy.net> Date: Wed, 28 Apr 2004 14:49:50 +0000 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161581 If cffile was sandboxed, cf would blow with an error saying so. -adam ----- Excess quoted text cut - see Original Post for more ----- 9.4> ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 11:06:42 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161585 Just a follow-up.  the guy who normally does CF gave me this as a solution. <cfset the_path = ExpandPath("*.*")> <cfset this_directory = GetDirectoryFromPath(the_path)> <cffile action="write" file="#this_directory#\ccText.txt" output="centurycouncilmessage=test"> this works. but now, what I really want to do, and this is probably OT, but I hope you don't mind me asking anyway, is pass a variable called 'content' from flash to the above script with the exception that output="centurycouncilmessage=test" would really be output="centurycouncilmessag=#content#". anyone, using flash to talk to Cold fusion>? thanks again (and again!) Kurt At 02:49 PM 4/28/2004 +0000, you wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Kitta
04/28/2004 04:56 PM

How about Home Site 5.5+ Or just stick with CF Studio 5 + upgraded tags. TK   Is there a replacement for Cold Fusion Studio besides Dream Weaver?   CF-Talk          28-Apr-04             Issue:967   In this issue:        CF based auctions...        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        CFLDAP and Win2k AD        CFMX 6.1 Setting: Maximum number of simultaneous requests        CFMX 6.1 Setting: Maximum number of simultaneous requests        CFMX 6.1 Setting: Maximum number of simultaneous requests        cfmx not picking up spooled messages        CF-Talk: Digest every 8 hours        Currency converter webservice        fusebox 4 documentation?        fusebox 4 documentation?        getTickCount inside lock        getTickCount inside lock        getTickCount inside lock        getTickCount inside lock        heap size with coldfusion        heap size with coldfusion        Intranets        Intranets        Intranets        Intranets        JS updating CF Array?        JS updating CF Array?        JS updating CF Array?        JS updating CF Array?        LDAP Connection stopped        Migrating datasource settings        Migrating datasource settings        Migrating datasource settings        Migrating datasource settings        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        OT; 2000 server system service        Pop Chart and Coldfusion        Pop Chart and Coldfusion        Postponing a cfhttp request        Postponing a cfhttp request        Postponing a cfhttp request        REMINDER: Security Patches        REMINDER: Security Patches        REMINDER: Security Patches        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        select all null fields?        select all null fields?        select all null fields?        sql question        Storing cfc's in server scope?        Storing cfc's in server scope?        Verity vs. Verity K2 Server        Why am I not getting a comma-delimited list?        Why am I not getting a comma-delimited list?        Words for US Currency        Words for US Currency        Words for US Currency   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: CF based auctions...   From: "Che Vilnonis" <chevy@asitv.com>   Date: Wed, 28 Apr 2004 15:49:21 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32213&forumid=4#161628   Are there any CF based auctions out there that anyone could recommend?   Thanks, Che   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:18:36 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161557   Hi,   I was hoping someone could help.  I am trying to do something and have   tried a ton of variations, but have had no luck.   why won't this write to a text file?   <cffile action = "write" file = "write_greeting.cfm" output = "test">   thanks for any help,   Kurt   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Adrocknaphobia" <adrocknatalk@speakeasy.net>   Date: Wed, 28 Apr 2004 13:19:40 +0000   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161558   Could you show us the full code, and exactly what isn't working about   it. Are you getting unplanned results or is cf throwing an error?   Why are you trying to create a cfm?   -adam   > Hi,   >   > I was hoping someone could help.  I am trying to do something and have   > tried a ton of variations, but have had no luck.   >   > why won't this write to a text file?   >   > <cffile action = "write" file = "write_greeting.cfm" output = "test">   >   > thanks for any help,   > Kurt   >   > Kurt Dommermuth   > Head Woodsman: http://www.punch-me.com   > Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >   >   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:20:44 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161559   you may need to use the full path like   c:\inetpub\wwwroot   or it will likely throw the newly created file into some system   directory or root path of something.   are you getting errors? or are you just not getting the file in the   place you are expecting?   tony   Hi,   I was hoping someone could help.  I am trying to do something and have   tried a ton of variations, but have had no luck.   why won't this write to a text file?   <cffile action = "write" file = "write_greeting.cfm" output = "test">   thanks for any help,   Kurt   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Stephen Moretti <stephen@cfmaster.co.uk>   Date: Wed, 28 Apr 2004 14:24:51 +0100   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161560   Kurt Dommermuth wrote:   > Hi,   >   > I was hoping someone could help.  I am trying to do something and have   > tried a ton of variations, but have had no luck.   >   > why won't this write to a text file?   >   > <cffile action = "write" file = "write_greeting.cfm" output = "test">   It should write the file write_greeting.cfm into the current template   folder with the content "test".   Whats the error message you are getting?   What are you actually trying to do by writing a cfm file?   Stephen   CFMX Hosting   ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   Remoting, DreamweaverMX:: www.CFMXHosting.co.uk   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:35:10 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161562   Hi Adam,   The only code in my (write_greeting.cfm) test file is this...   <cffile action = "write" file = "ccText.txt" output = "test">   (apologies, i put the wrong parameter in 'file' in my last email.)   I have a little flash movie that loads in dynamic text from the file   ccText.txt.   I also have a little flash interface so my client can:   - enter a greeting and change the contents of ccText.txt.   I am using CF because it's just whats installed on this particular   server   (normally I'd use PHP!).   Hope I'm clear!?   thansk again   At 01:19 PM 4/28/2004 +0000, you wrote:   >Could you show us the full code, and exactly what isn't working about   >it.   >Are you getting unplanned results or is cf throwing an error?   >   >Why are you trying to create a cfm?   >   >-adam   >   > > Hi,   > >   > > I was hoping someone could help.  I am trying to do something and   > > have tried a ton of variations, but have had no luck.   > >   > > why won't this write to a text file?   > >   > > <cffile action = "write" file = "write_greeting.cfm" output =   > > "test">   > >   > > thanks for any help,   > > Kurt   > >   > > Kurt Dommermuth   > > Head Woodsman: http://www.punch-me.com   > > Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >   > >   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161558>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:38:27 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161563   Adam, had also asked if I was getting errors and I forgot to say that I   wasn't.   Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   where exactly I was in the directory structure and used this information   as   an absolute path.  still no luck.   this is what it looked like when I tried that.   <cffile action = "write" file =   "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   "test">   thank you,   Kurt   At 09:20 AM 4/28/2004 -0400, you wrote:   >you may need to use the full path like   >   >c:\inetpub\wwwroot>   >or it will likely throw the newly created file into some system   >directory or root path of something.   >   >are you getting errors? or are you just not getting the file in the   >place you are expecting?   >   >tony   >   >Hi,   >   >I was hoping someone could help.  I am trying to do something and have   >tried a ton of variations, but have had no luck.   >   >why won't this write to a text file?   >   ><cffile action = "write" file = "write_greeting.cfm" output = "test">   >   >thanks for any help,   >Kurt   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:37:02 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161565   is this a shared hosting environment?  is cffile allowed?   tony   Adam, had also asked if I was getting errors and I forgot to say that I   wasn't.   Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   where exactly I was in the directory structure and used this information   as an absolute path.  still no luck.   this is what it looked like when I tried that.   <cffile action = "write" file =   "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   "test">   thank you,   Kurt   At 09:20 AM 4/28/2004 -0400, you wrote:   >you may need to use the full path like   >   >c:\inetpub\wwwroot>   >or it will likely throw the newly created file into some system   >directory   or   >root path of something.   >   >are you getting errors? or are you just not getting the file in the   >place you are expecting?   >   >tony   >   >Hi,   >   >I was hoping someone could help.  I am trying to do something and have   tried   >a ton of variations, but have had no luck.   >   >why won't this write to a text file?   >   ><cffile action = "write" file = "write_greeting.cfm" output = "test">   >   >thanks for any help,   >Kurt   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>   Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:43:56 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161567   At 09:37 AM 4/28/2004 -0400, you wrote:   >is this a shared hosting environment?  is cffile allowed?   >   >tony   hmmmmmm.  good question.   I suppose I have to contact the admin to find out?   >Adam, had also asked if I was getting errors and I forgot to say that I   >wasn't.   >   >Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   >where exactly I was in the directory structure and used this   >information as an absolute path.  still no luck.   >   >this is what it looked like when I tried that.   >   ><cffile action = "write" file =   >"D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   >"test">   >   >thank you,   >Kurt   >   >   >At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   >or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   >tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com   > >Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   9.4>   >Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161565>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:42:56 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161568   possiblemente...   At 09:37 AM 4/28/2004 -0400, you wrote:   >is this a shared hosting environment?  is cffile allowed?   >   >tony   hmmmmmm.  good question.   I suppose I have to contact the admin to find out?   >Adam, had also asked if I was getting errors and I forgot to say that I   >wasn't.   >   >Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   >where exactly I was in the directory structure and used this   >information as an absolute path.  still no luck.   >   >this is what it looked like when I tried that.   >   ><cffile action = "write" file =   >"D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   >"test">   >   >thank you,   >Kurt   >   >   >At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   >or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   >tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com Something fun for the itty   > >bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   > >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.11   > >829.4>   >Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161565>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast Unsubscribe] [<http://www.houseoffusion.com/signin/>User   >Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Stephen Moretti <stephen@cfmaster.co.uk>   Date: Wed, 28 Apr 2004 14:59:53 +0100   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161572   Tony Weeg wrote:   > possiblemente...   >   > At 09:37 AM 4/28/2004 -0400, you wrote:   > >is this a shared hosting environment?  is cffile allowed?   > >   > >tony   >   > hmmmmmm.  good question.   >   > I suppose I have to contact the admin to find out?   I would have expected a permission denied error if this was the case.   Are you sure that the file isn't being written?  It might be a problem   with flash reading the file rather than the file not being created.   Incidently, you do realise that every user will see the same message?   If this is what you're after, then an easier way would just be to set a   CF variable to the message (URLEncodedFormat)  and pass it directly into   the flash using object/embed parameters.  No file writing involved -   much more efficient.   Stephen   CFMX Hosting   ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   Remoting, DreamweaverMX:: www.CFMXHosting.co.uk   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 10:13:24 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161574   Hi Stephen,   >I would have expected a permission denied error if this was the case.   no. I didn't get any permission denied errors.   >Are you sure that the file isn't being written?   yes.   >  It might be a problem   >with flash reading the file rather than the file not being created.   No.  this works well and I understand why you'd mention it, but I'm   pretty   experienced with flash.   >Incidently, you do realise that every user will see the same message?   >If this is what you're after, then an easier way would just be to set a   >CF variable to the message (URLEncodedFormat)  and pass it directly   >into the flash using object/embed parameters.  No file writing involved   >- much more efficient.   The message is for the client to write to the user.  It is meant to be   seen   by everyone, but it is also something that she can update as needed   without   having to deal with any internet innards....  just a flash interface.   Thank you!   Kurt   >Stephen   >   >CFMX Hosting   >::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   >Remoting, DreamweaverMX::   >www.CFMXHosting.co.uk   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161572>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Adrocknaphobia" <adrocknatalk@speakeasy.net>   Date: Wed, 28 Apr 2004 14:49:50 +0000   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161581   If cffile was sandboxed, cf would blow with an error saying so.   -adam   > is this a shared hosting environment?  is cffile allowed?   >   > tony   >   > Adam, had also asked if I was getting errors and I forgot to say that   > I wasn't.   >   > Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   > where exactly I was in the directory structure and used this   > information as an absolute path.  still no luck.   >   > this is what it looked like when I tried that.   >   > <cffile action = "write" file =   > "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   > "test">   >   >   > thank you,   > Kurt   >   >   >   >   > At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   > or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   > tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com   > >Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   9.4>   > Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   > Kurt Dommermuth   > Head Woodsman: http://www.punch-me.com   > Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >   >   >   >   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 11:06:42 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161585   Just a follow-up.  the guy who normally does CF gave me this as a   solution.   <cfset the_path = ExpandPath("*.*")>   <cfset this_directory = GetDirectoryFromPath(the_path)>   <cffile action="write" file="#this_directory#\ccText.txt"   output="centurycouncilmessage=test">   this works.   but now, what I really want to do, and this is probably OT, but I hope   you   don't mind me asking anyway, is pass a variable called 'content' from   flash   to the above script with the exception that   output="centurycouncilmessage=test" would really be   output="centurycouncilmessag=#content#".   anyone, using flash to talk to Cold fusion>?   thanks again (and again!)   Kurt   At 02:49 PM 4/28/2004 +0000, you wrote:   >If cffile was sandboxed, cf would blow with an error saying so.   >   >-adam   >   > > is this a shared hosting environment?  is cffile allowed?   > >   > > tony   > >   > > Adam, had also asked if I was getting errors and I forgot to say   > > that I wasn't.   > >   > > Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to   > > determine   > where   > > exactly I was in the directory structure and used this information   > > as an absolute path.  still no luck.   > >   > > this is what it looked like when I tried that.   > >   > > <cffile action = "write" file =   > > "D:\http\centurycouncil_

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Paul Kenney
04/28/2004 04:57 PM

Homesite+... it ships with Dreamweaver MX and MX 2004.  I don't think you can buy it separately, but it is basically CF Studio updated for CFMX. Paul Kenney paul@pjk.us 916-212-4359 ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Barney Boisvert
04/28/2004 05:00 PM

HomeSite+.  If you buy dreamweaver, you get homesite+ for free (on windows, at least).  And cheaper than CFS used to be. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Philip Arnold
04/28/2004 05:29 PM

> Is there a replacement for Cold Fusion Studio besides Dream Weaver? <cf_SNIP /> I just want to thank people for not cropping the message and leaving the whole of the digest in their replies

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Matt Robertson
04/28/2004 04:57 PM

HomeSite+, which *is* CF Studio, with a few nice but minor improvements.  Its included free in the Dreamweaver package.  I bought DW 2k4 recently and stuck with it for about an hour before I went 'back' to HS+.   Probably need to just delete HS and force myself to give DW a chance. -- ------------------------------------------- Matt Robertson,     matt@mysecretbase.com MSB Designs, Inc. http://mysecretbase.com ------------------------------------------- --

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bryan Stevenson
04/28/2004 05:15 PM

No Matt...don't do it....run...run for the hills ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. bryan@electricedgesystems.com --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com   HomeSite+, which *is* CF Studio, with a few nice but minor improvements.  Its included free in the Dreamweaver package.  I bought DW 2k4 recently and stuck with it for about an hour before I went 'back' to HS+.     Probably need to just delete HS and force myself to give DW a chance.   --   -------------------------------------------   Matt Robertson,     matt@mysecretbase.com   MSB Designs, Inc. http://mysecretbase.com   -------------------------------------------   --

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Densmore
04/28/2004 04:58 PM

HomeSite+ Ben Is there a replacement for Cold Fusion Studio besides Dream Weaver? CF-Talk          28-Apr-04             Issue:967 In this issue:      CF based auctions...      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      cf newbie trying to write to a txt file.      CFLDAP and Win2k AD      CFMX 6.1 Setting: Maximum number of simultaneous requests      CFMX 6.1 Setting: Maximum number of simultaneous requests      CFMX 6.1 Setting: Maximum number of simultaneous requests      cfmx not picking up spooled messages      CF-Talk: Digest every 8 hours      Currency converter webservice      fusebox 4 documentation?      fusebox 4 documentation?      getTickCount inside lock      getTickCount inside lock      getTickCount inside lock      getTickCount inside lock      heap size with coldfusion      heap size with coldfusion      Intranets      Intranets      Intranets      Intranets      JS updating CF Array?      JS updating CF Array?      JS updating CF Array?      JS updating CF Array?      LDAP Connection stopped      Migrating datasource settings      Migrating datasource settings      Migrating datasource settings      Migrating datasource settings      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Multiple Instances of CFMX on JRun      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      Need SSL Cert, not EV1/Rackshack/Verisign      OT; 2000 server system service      Pop Chart and Coldfusion      Pop Chart and Coldfusion      Postponing a cfhttp request      Postponing a cfhttp request      Postponing a cfhttp request      REMINDER: Security Patches      REMINDER: Security Patches      REMINDER: Security Patches      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      Revisit of session management for CF5 on Windows OS      select all null fields?      select all null fields?      select all null fields?      sql question      Storing cfc's in server scope?      Storing cfc's in server scope?      Verity vs. Verity K2 Server      Why am I not getting a comma-delimited list?      Why am I not getting a comma-delimited list?      Words for US Currency      Words for US Currency      Words for US Currency ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: CF based auctions... From: "Che Vilnonis" <chevy@asitv.com> Date: Wed, 28 Apr 2004 15:49:21 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32213&forumid=4#161628 Are there any CF based auctions out there that anyone could recommend? Thanks, Che ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:18:36 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161557 Hi, I was hoping someone could help.  I am trying to do something and have tried a ton of variations, but have had no luck. why won't this write to a text file? <cffile action = "write" file = "write_greeting.cfm" output = "test"> thanks for any help, Kurt Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Adrocknaphobia" <adrocknatalk@speakeasy.net> Date: Wed, 28 Apr 2004 13:19:40 +0000 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161558 Could you show us the full code, and exactly what isn't working about it. Are you getting unplanned results or is cf throwing an error? Why are you trying to create a cfm? -adam ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:20:44 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161559 you may need to use the full path like c:\inetpub\wwwroot or it will likely throw the newly created file into some system directory or root path of something. are you getting errors? or are you just not getting the file in the place you are expecting? tony Hi, I was hoping someone could help.  I am trying to do something and have tried a ton of variations, but have had no luck. why won't this write to a text file? <cffile action = "write" file = "write_greeting.cfm" output = "test"> thanks for any help, Kurt Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Stephen Moretti <stephen@cfmaster.co.uk> Date: Wed, 28 Apr 2004 14:24:51 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161560 Kurt Dommermuth wrote: ----- Excess quoted text cut - see Original Post for more ----- It should write the file write_greeting.cfm into the current template folder with the content "test". Whats the error message you are getting? What are you actually trying to do by writing a cfm file? Stephen CFMX Hosting ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash Remoting, DreamweaverMX:: www.CFMXHosting.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:35:10 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161562 Hi Adam, The only code in my (write_greeting.cfm) test file is this... <cffile action = "write" file = "ccText.txt" output = "test"> (apologies, i put the wrong parameter in 'file' in my last email.) I have a little flash movie that loads in dynamic text from the file ccText.txt. I also have a little flash interface so my client can: - enter a greeting and change the contents of ccText.txt. I am using CF because it's just whats installed on this particular server (normally I'd use PHP!). Hope I'm clear!? thansk again At 01:19 PM 4/28/2004 +0000, you wrote: ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:38:27 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161563 Adam, had also asked if I was getting errors and I forgot to say that I wasn't. Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine where exactly I was in the directory structure and used this information as an absolute path.  still no luck. this is what it looked like when I tried that. <cffile action = "write" file = "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output = "test"> thank you, Kurt At 09:20 AM 4/28/2004 -0400, you wrote: ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:37:02 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161565 is this a shared hosting environment?  is cffile allowed? tony Adam, had also asked if I was getting errors and I forgot to say that I wasn't. Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine where exactly I was in the directory structure and used this information as an absolute path.  still no luck. this is what it looked like when I tried that. <cffile action = "write" file = "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output = "test"> thank you, Kurt At 09:20 AM 4/28/2004 -0400, you wrote: >you may need to use the full path like > >c:\inetpub\wwwroot> >or it will likely throw the newly created file into some system >directory or ----- Excess quoted text cut - see Original Post for more ----- tried ----- Excess quoted text cut - see Original Post for more ----- Fast >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings] > >---------- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 09:43:56 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161567 At 09:37 AM 4/28/2004 -0400, you wrote: >is this a shared hosting environment?  is cffile allowed? > >tony hmmmmmm.  good question. I suppose I have to contact the admin to find out? ----- Excess quoted text cut - see Original Post for more ----- 9.4> ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Tony Weeg" <tony@navtrak.net> Date: Wed, 28 Apr 2004 09:42:56 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161568 possiblemente... At 09:37 AM 4/28/2004 -0400, you wrote: >is this a shared hosting environment?  is cffile allowed? > >tony hmmmmmm.  good question. I suppose I have to contact the admin to find out? ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Stephen Moretti <stephen@cfmaster.co.uk> Date: Wed, 28 Apr 2004 14:59:53 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161572 Tony Weeg wrote: ----- Excess quoted text cut - see Original Post for more ----- I would have expected a permission denied error if this was the case. Are you sure that the file isn't being written?  It might be a problem with flash reading the file rather than the file not being created. Incidently, you do realise that every user will see the same message?   If this is what you're after, then an easier way would just be to set a CF variable to the message (URLEncodedFormat)  and pass it directly into the flash using object/embed parameters.  No file writing involved - much more efficient. Stephen CFMX Hosting ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash Remoting, DreamweaverMX:: www.CFMXHosting.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 10:13:24 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161574 Hi Stephen, >I would have expected a permission denied error if this was the case. no. I didn't get any permission denied errors. >Are you sure that the file isn't being written? yes. >  It might be a problem >with flash reading the file rather than the file not being created. No.  this works well and I understand why you'd mention it, but I'm pretty experienced with flash. >Incidently, you do realise that every user will see the same message? >If this is what you're after, then an easier way would just be to set a >CF variable to the message (URLEncodedFormat)  and pass it directly >into the flash using object/embed parameters.  No file writing involved >- much more efficient. The message is for the client to write to the user.  It is meant to be seen by everyone, but it is also something that she can update as needed without having to deal with any internet innards....  just a flash interface. Thank you! Kurt ----- Excess quoted text cut - see Original Post for more ----- Kurt Dommermuth Head Woodsman: http://www.punch-me.com Something fun for the itty bitty ones: http://www.kneebouncers.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: "Adrocknaphobia" <adrocknatalk@speakeasy.net> Date: Wed, 28 Apr 2004 14:49:50 +0000 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161581 If cffile was sandboxed, cf would blow with an error saying so. -adam ----- Excess quoted text cut - see Original Post for more ----- 9.4> ----- Excess quoted text cut - see Original Post for more ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Subject: cf newbie trying to write to a txt file. From: Kurt Dommermuth <kurt@punch-me.com> Date: Wed, 28 Apr 2004 11:06:42 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =32193&forumid=4#161585 Just a follow-up.  the guy who normally does CF gave me this as a solution. <cfset the_path = ExpandPath("*.*")> <cfset this_directory = GetDirectoryFromPath(the_path)> <cffile action="write" file="#this_directory#\ccText.txt" output="centurycouncilmessage=test"> this works. but now, what I really want to do, and this is probably OT, but I hope you don't mind me asking anyway, is pass a variable called 'content' from flash to the above script with the exception that output="centurycouncilmessage=test" would really be output="centurycouncilmessag=#content#". anyone, using flash to talk to Cold fusion>? thanks again (and again!) Kurt At 02:49 PM 4/28/2004 +0000, you wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Kitta
04/28/2004 05:23 PM

You can buy Homesite separately, It is $99, http://www.macromedia.com/software/homesite/   HomeSite+   Ben   Is there a replacement for Cold Fusion Studio besides Dream Weaver?   CF-Talk          28-Apr-04             Issue:967   In this issue:        CF based auctions...        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        cf newbie trying to write to a txt file.        CFLDAP and Win2k AD        CFMX 6.1 Setting: Maximum number of simultaneous requests        CFMX 6.1 Setting: Maximum number of simultaneous requests        CFMX 6.1 Setting: Maximum number of simultaneous requests        cfmx not picking up spooled messages        CF-Talk: Digest every 8 hours        Currency converter webservice        fusebox 4 documentation?        fusebox 4 documentation?        getTickCount inside lock        getTickCount inside lock        getTickCount inside lock        getTickCount inside lock        heap size with coldfusion        heap size with coldfusion        Intranets        Intranets        Intranets        Intranets        JS updating CF Array?        JS updating CF Array?        JS updating CF Array?        JS updating CF Array?        LDAP Connection stopped        Migrating datasource settings        Migrating datasource settings        Migrating datasource settings        Migrating datasource settings        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Multiple Instances of CFMX on JRun        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        Need SSL Cert, not EV1/Rackshack/Verisign        OT; 2000 server system service        Pop Chart and Coldfusion        Pop Chart and Coldfusion        Postponing a cfhttp request        Postponing a cfhttp request        Postponing a cfhttp request        REMINDER: Security Patches        REMINDER: Security Patches        REMINDER: Security Patches        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        Revisit of session management for CF5 on Windows OS        select all null fields?        select all null fields?        select all null fields?        sql question        Storing cfc's in server scope?        Storing cfc's in server scope?        Verity vs. Verity K2 Server        Why am I not getting a comma-delimited list?        Why am I not getting a comma-delimited list?        Words for US Currency        Words for US Currency        Words for US Currency   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: CF based auctions...   From: "Che Vilnonis" <chevy@asitv.com>   Date: Wed, 28 Apr 2004 15:49:21 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32213&forumid=4#161628   Are there any CF based auctions out there that anyone could recommend?   Thanks, Che   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:18:36 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161557   Hi,   I was hoping someone could help.  I am trying to do something and have   tried a ton of variations, but have had no luck.   why won't this write to a text file?   <cffile action = "write" file = "write_greeting.cfm" output = "test">   thanks for any help,   Kurt   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Adrocknaphobia" <adrocknatalk@speakeasy.net>   Date: Wed, 28 Apr 2004 13:19:40 +0000   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161558   Could you show us the full code, and exactly what isn't working about   it. Are you getting unplanned results or is cf throwing an error?   Why are you trying to create a cfm?   -adam   > Hi,   >   > I was hoping someone could help.  I am trying to do something and have   > tried a ton of variations, but have had no luck.   >   > why won't this write to a text file?   >   > <cffile action = "write" file = "write_greeting.cfm" output = "test">   >   > thanks for any help,   > Kurt   >   > Kurt Dommermuth   > Head Woodsman: http://www.punch-me.com   > Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >   >   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:20:44 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161559   you may need to use the full path like   c:\inetpub\wwwroot   or it will likely throw the newly created file into some system   directory or root path of something.   are you getting errors? or are you just not getting the file in the   place you are expecting?   tony   Hi,   I was hoping someone could help.  I am trying to do something and have   tried a ton of variations, but have had no luck.   why won't this write to a text file?   <cffile action = "write" file = "write_greeting.cfm" output = "test">   thanks for any help,   Kurt   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Stephen Moretti <stephen@cfmaster.co.uk>   Date: Wed, 28 Apr 2004 14:24:51 +0100   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161560   Kurt Dommermuth wrote:   > Hi,   >   > I was hoping someone could help.  I am trying to do something and have   > tried a ton of variations, but have had no luck.   >   > why won't this write to a text file?   >   > <cffile action = "write" file = "write_greeting.cfm" output = "test">   It should write the file write_greeting.cfm into the current template   folder with the content "test".   Whats the error message you are getting?   What are you actually trying to do by writing a cfm file?   Stephen   CFMX Hosting   ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   Remoting, DreamweaverMX:: www.CFMXHosting.co.uk   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:35:10 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161562   Hi Adam,   The only code in my (write_greeting.cfm) test file is this...   <cffile action = "write" file = "ccText.txt" output = "test">   (apologies, i put the wrong parameter in 'file' in my last email.)   I have a little flash movie that loads in dynamic text from the file   ccText.txt.   I also have a little flash interface so my client can:   - enter a greeting and change the contents of ccText.txt.   I am using CF because it's just whats installed on this particular   server   (normally I'd use PHP!).   Hope I'm clear!?   thansk again   At 01:19 PM 4/28/2004 +0000, you wrote:   >Could you show us the full code, and exactly what isn't working about   >it.   >Are you getting unplanned results or is cf throwing an error?   >   >Why are you trying to create a cfm?   >   >-adam   >   > > Hi,   > >   > > I was hoping someone could help.  I am trying to do something and   > > have tried a ton of variations, but have had no luck.   > >   > > why won't this write to a text file?   > >   > > <cffile action = "write" file = "write_greeting.cfm" output =   > > "test">   > >   > > thanks for any help,   > > Kurt   > >   > > Kurt Dommermuth   > > Head Woodsman: http://www.punch-me.com   > > Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >   > >   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161558>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:38:27 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161563   Adam, had also asked if I was getting errors and I forgot to say that I   wasn't.   Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   where exactly I was in the directory structure and used this information   as   an absolute path.  still no luck.   this is what it looked like when I tried that.   <cffile action = "write" file =   "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   "test">   thank you,   Kurt   At 09:20 AM 4/28/2004 -0400, you wrote:   >you may need to use the full path like   >   >c:\inetpub\wwwroot>   >or it will likely throw the newly created file into some system   >directory or root path of something.   >   >are you getting errors? or are you just not getting the file in the   >place you are expecting?   >   >tony   >   >Hi,   >   >I was hoping someone could help.  I am trying to do something and have   >tried a ton of variations, but have had no luck.   >   >why won't this write to a text file?   >   ><cffile action = "write" file = "write_greeting.cfm" output = "test">   >   >thanks for any help,   >Kurt   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:37:02 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161565   is this a shared hosting environment?  is cffile allowed?   tony   Adam, had also asked if I was getting errors and I forgot to say that I   wasn't.   Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   where exactly I was in the directory structure and used this information   as an absolute path.  still no luck.   this is what it looked like when I tried that.   <cffile action = "write" file =   "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   "test">   thank you,   Kurt   At 09:20 AM 4/28/2004 -0400, you wrote:   >you may need to use the full path like   >   >c:\inetpub\wwwroot>   >or it will likely throw the newly created file into some system   >directory   or   >root path of something.   >   >are you getting errors? or are you just not getting the file in the   >place you are expecting?   >   >tony   >   >Hi,   >   >I was hoping someone could help.  I am trying to do something and have   tried   >a ton of variations, but have had no luck.   >   >why won't this write to a text file?   >   ><cffile action = "write" file = "write_greeting.cfm" output = "test">   >   >thanks for any help,   >Kurt   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>   Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 09:43:56 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161567   At 09:37 AM 4/28/2004 -0400, you wrote:   >is this a shared hosting environment?  is cffile allowed?   >   >tony   hmmmmmm.  good question.   I suppose I have to contact the admin to find out?   >Adam, had also asked if I was getting errors and I forgot to say that I   >wasn't.   >   >Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   >where exactly I was in the directory structure and used this   >information as an absolute path.  still no luck.   >   >this is what it looked like when I tried that.   >   ><cffile action = "write" file =   >"D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   >"test">   >   >thank you,   >Kurt   >   >   >At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   >or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   >tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com   > >Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   9.4>   >Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161565>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Tony Weeg" <tony@navtrak.net>   Date: Wed, 28 Apr 2004 09:42:56 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161568   possiblemente...   At 09:37 AM 4/28/2004 -0400, you wrote:   >is this a shared hosting environment?  is cffile allowed?   >   >tony   hmmmmmm.  good question.   I suppose I have to contact the admin to find out?   >Adam, had also asked if I was getting errors and I forgot to say that I   >wasn't.   >   >Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   >where exactly I was in the directory structure and used this   >information as an absolute path.  still no luck.   >   >this is what it looked like when I tried that.   >   ><cffile action = "write" file =   >"D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   >"test">   >   >thank you,   >Kurt   >   >   >At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   >or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   >tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com Something fun for the itty   > >bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   > >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.11   > >829.4>   >Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   >Kurt Dommermuth   >Head Woodsman: http://www.punch-me.com   >Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161565>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast Unsubscribe] [<http://www.houseoffusion.com/signin/>User   >Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Stephen Moretti <stephen@cfmaster.co.uk>   Date: Wed, 28 Apr 2004 14:59:53 +0100   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161572   Tony Weeg wrote:   > possiblemente...   >   > At 09:37 AM 4/28/2004 -0400, you wrote:   > >is this a shared hosting environment?  is cffile allowed?   > >   > >tony   >   > hmmmmmm.  good question.   >   > I suppose I have to contact the admin to find out?   I would have expected a permission denied error if this was the case.   Are you sure that the file isn't being written?  It might be a problem   with flash reading the file rather than the file not being created.   Incidently, you do realise that every user will see the same message?   If this is what you're after, then an easier way would just be to set a   CF variable to the message (URLEncodedFormat)  and pass it directly into   the flash using object/embed parameters.  No file writing involved -   much more efficient.   Stephen   CFMX Hosting   ::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   Remoting, DreamweaverMX:: www.CFMXHosting.co.uk   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 10:13:24 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161574   Hi Stephen,   >I would have expected a permission denied error if this was the case.   no. I didn't get any permission denied errors.   >Are you sure that the file isn't being written?   yes.   >  It might be a problem   >with flash reading the file rather than the file not being created.   No.  this works well and I understand why you'd mention it, but I'm   pretty   experienced with flash.   >Incidently, you do realise that every user will see the same message?   >If this is what you're after, then an easier way would just be to set a   >CF variable to the message (URLEncodedFormat)  and pass it directly   >into the flash using object/embed parameters.  No file writing involved   >- much more efficient.   The message is for the client to write to the user.  It is meant to be   seen   by everyone, but it is also something that she can update as needed   without   having to deal with any internet innards....  just a flash interface.   Thank you!   Kurt   >Stephen   >   >CFMX Hosting   >::Macromedia ColdfusionMX hosting, with support for FlashMX, Flash   >Remoting, DreamweaverMX::   >www.CFMXHosting.co.uk   >   >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   >Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:161572>This   >Message]   >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   >9.4>Fast   >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   >   >----------   Kurt Dommermuth   Head Woodsman: http://www.punch-me.com   Something fun for the itty bitty ones: http://www.kneebouncers.com   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: "Adrocknaphobia" <adrocknatalk@speakeasy.net>   Date: Wed, 28 Apr 2004 14:49:50 +0000   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161581   If cffile was sandboxed, cf would blow with an error saying so.   -adam   > is this a shared hosting environment?  is cffile allowed?   >   > tony   >   > Adam, had also asked if I was getting errors and I forgot to say that   > I wasn't.   >   > Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to determine   > where exactly I was in the directory structure and used this   > information as an absolute path.  still no luck.   >   > this is what it looked like when I tried that.   >   > <cffile action = "write" file =   > "D:\http\centurycouncil_org\kurt_test\write_greeting.cfm" output =   > "test">   >   >   > thank you,   > Kurt   >   >   >   >   > At 09:20 AM 4/28/2004 -0400, you wrote:   > >you may need to use the full path like   > >   > >c:\inetpub\wwwroot> >   > >or it will likely throw the newly created file into some system   > >directory   > or   > >root path of something.   > >   > >are you getting errors? or are you just not getting the file in the   > >place you are expecting?   > >   > >tony   > >   > >Hi,   > >   > >I was hoping someone could help.  I am trying to do something and   > >have   > tried   > >a ton of variations, but have had no luck.   > >   > >why won't this write to a text file?   > >   > ><cffile action = "write" file = "write_greeting.cfm" output = "test">   > >   > >thanks for any help,   > >Kurt   > >   > >Kurt Dommermuth   > >Head Woodsman: http://www.punch-me.com   > >Something fun for the itty bitty ones: http://www.kneebouncers.com   > >   > >---------- [<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays   > >Threads]   > >[<http://www.houseoffusion.com/lists.cfm/link=i:4:161559>This   > >Message]   > >[<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription]   >   >[<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=13059.1182   9.4>   > Fast   > >Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]   > >   > >----------   >   > Kurt Dommermuth   > Head Woodsman: http://www.punch-me.com   > Something fun for the itty bitty ones: http://www.kneebouncers.com   >   >   >   >   >   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|   Subject: cf newbie trying to write to a txt file.   From: Kurt Dommermuth <kurt@punch-me.com>   Date: Wed, 28 Apr 2004 11:06:42 -0400   Thread:   http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid   =32193&forumid=4#161585   Just a follow-up.  the guy who normally does CF gave me this as a   solution.   <cfset the_path = ExpandPath("*.*")>   <cfset this_directory = GetDirectoryFromPath(the_path)>   <cffile action="write" file="#this_directory#\ccText.txt"   output="centurycouncilmessage=test">   this works.   but now, what I really want to do, and this is probably OT, but I hope   you   don't mind me asking anyway, is pass a variable called 'content' from   flash   to the above script with the exception that   output="centurycouncilmessage=test" would really be   output="centurycouncilmessag=#content#".   anyone, using flash to talk to Cold fusion>?   thanks again (and again!)   Kurt   At 02:49 PM 4/28/2004 +0000, you wrote:   >If cffile was sandboxed, cf would blow with an error saying so.   >   >-adam   >   > > is this a shared hosting environment?  is cffile allowed?   > >   > > tony   > >   > > Adam, had also asked if I was getting errors and I forgot to say   > > that I wasn't.   > >   > > Tony, I used <cfoutput>#GetBaseTemplatePath()#</cfoutput> to   > > determine   > where   > > exactly I was in the directory structure and used th

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Barney Boisvert
04/28/2004 05:32 PM

That's HomeSite though, not HomeSite+, which includes all the CF goodness. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
me
04/28/2004 05:01 PM

On Wed, 28 Apr 2004 13:47:12 -0700, "Michael C.Grove" wrote: > Is there a replacement for Cold Fusion Studio besides > Dream Weaver? <cfplug> If your ok with non-macromedia stuff, open source, and do not use RDS http://cfeclipse.tigris.org - eclipse with the coldfusion plugin is really comming along (I don't use anything else for cf code anymore). It has more of a coder focus then dw does. </cfplug>        O      CH3 H3C   ||     /    \ /   \   N     N     \/       |     |    //    //\   / \  //   O    N     N        |       CH3 http://treebeard.sourceforge.net http://ashpool.sourceforge.net

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adrocknaphobia
04/28/2004 05:28 PM

You might as well pickup a copy of the original DWMX off ebay, rather than get 2k4. I don't think they made any improvements to Homesite+ between releases. -adam ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adrocknaphobia
04/28/2004 05:53 PM

Hello old dog, meet new tricks. (kidding) -adam ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bryan Stevenson
04/28/2004 06:04 PM

LOL...OK...be nice...I just turned 30 yesterday....my life is over ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. bryan@electricedgesystems.com --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kenneth Wilson
04/28/2004 06:15 PM

Bet my dog can beat up your trick.   :) Ken ________________________________ Sent: Wed 4/28/2004 5:51 PM To: CF-Talk Subject: Re: Allaire CF Studio Hello old dog, meet new tricks. (kidding) -adam ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

February 08, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29