| Subject: | Re: Problem Parsing Large File |
|---|---|
| From: | "cfwild" |
| Date: | Thu, 19 Mar 2009 03:03:44 +0000 UTC |
| Newsgroups: | macromedia.coldfusion.cfml_general_discussion |
Hi,
This may not be the most efficient, but I've found this a pretty stable
solution when I parse files.
<cfset x = "#selectedfile#">
<cfloop file="#x#" index="fileLine">
Insert parsing logic here...
</cfloop>
You could also try a MOD function that reads in your java, then every 25 lines
or so updates the db. This way you're not maxing out your string/memory.
cfwild
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How to pass one row of a result set to a cffunction?, wolfv |
|---|---|
| Next by Date: | Re: How to preselect radio buttons, trojnfn |
| Previous by Thread: | Problem Parsing Large File, BrianTech3 |
| Next by Thread: | Re: Problem Parsing Large File, Azadi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |