Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Output to textfile 1

Status
Not open for further replies.

Kleptican

MIS
Feb 23, 2006
26
US
Hey all,

I've got a setup on my website where a user uploads a text file, adds that information to a new table, does some manipulations and then send another text file back to the user.

This is my problem- it seems like it takes too long to write the text file and I get a 'Page cannot be displayed' error. Right now I just do a cffile to write the text file and go line by line appending it to the text file.

What I would like to do is try and append all the data from a table to an array and then do one output of the array to the textfile which would save me a lot of time for outputting.

Does anyone know how to put an array of information into a text file? I know how to get it to work with an excel file but I don't know how to add a line break between each record to the textfile.

Does anyone have any suggestions or perhaps another way of doing this?

I appreciate the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top