Managed Hosting



Fixed File Reader
Project Home Forums Known Issues Screenshots Contact Project

Author: Bilal (All RIAForge projects by this author)
Last Updated: February 11, 2010 3:57 PM
Version: 1.0
Views: 26,329
Downloads: 1,027
License: Apache License, Version 2


After writing a parser for the umpteens fixed file that someone wanted to have loaded, I thought there needs to be a better way. Despite many years of XML, the use of complex flat files as a means of exchanging information is still fairly common.
These include EDI document, user and vendor data lists, specific updates from financial systems and other proprietary formats etc.
So, since the "Why can't they use XML?" response is not really a solution, a more flexible system needed to be created that would handle many complex scenarios without me having to re-invent the wheel every time.
This is how the Fixed File Reader component came to be. It handles fixed files that go beyond the standard tabular layout for which native or platform tools have a good solution.
I am including starter definitions for EDI and VCF4 formats as well as walk through a basic one in the documentation to provide a taste of the complexity that can be handled using this component.
As usual please feel free to provide feedback about the good, bad, and ugly.


Coldfusion 8,9
To make this work for CF 7 you have to replace i++ with i=i+1 and cfloop array to cfloop to arrayLen().

Issue Tracker:

There are no issues for this project.

To enter issues for this (or any other) project, you must be logged in.