Ask a Question related to Macromedia ColdFusion, Design and Development.
-
AkronNick #1
write text file to the server
What I am trying to do is get query results then use the results mixed with a
little bit of simple HTML and then save that as a .txt file in a specific
location on my server... can this be done? I am using the .txt files in flash.
Unless Flash can call .cfm files into the text area component but I am
starting here first... anybody know anything about this? Many Thanks
AkronNick Guest
-
Write input text to server file.
:confused; Googlepages is my server. It does NOT support PHP or I suspect any other 'backend'. Problem. I have a quiz application where I... -
Write to text file?
The age old question has been "how do you use Flash to write to a file", and the answer has and likely will always be "you can't. You have to use a... -
write a text file to a server
hi is it possible to open, change and save a simple txt file on a remote server with flash mx without php or cfm? the idea is to have a very simple... -
Write in a text file ?!
Is there a way to write and read in a text file ? I know how to read from a textfile, but I was wondering is there's any function or action to print... -
How To write to a text file.
Hello! Do the following (this will work, I promise :-): C# using HelpMePlease; class GetHelp { -
JMGibson3 #2
Re: write text file to the server
Sure Can: <CFFILE ACTION='Write' FILE='\\Server\xxx.txt'
OUTPUT='#YourContent#'> where your content is a huge string with all your
lines. If your using HTML to format you just keep concatenating (&) your
lines into YourContent. If they're truly going to be a .txt you'll need an
extra & chr(10) at the end of each line for them to look good in wordpad or
where ever. You can also <CFFILE ACTION='Append' FILE='\\Server\xxx.txt'
OUTPUT='#YourLine#'> to add lines one at a time with or without chr(10) to the
end of an existing file. Be aware that this approach can get horribly
expensive as file size increases since each Append operation actually reads the
entire file into memory, adds the line, and writes it back.
JMGibson3 Guest
-
AkronNick #3
Re: write text file to the server
Thanks, I figured that out by searching the archives - should have done that in
the first place but thanks for the advice on performance - however in my case
this will only happen once every so often so I'm not too concerned. thanks
again!
AkronNick Guest



Reply With Quote

