Parse - Parsing Flat File Data - Asp
Hello, and thanks in advance for considering this post...
What I have is a directory, called 'things', that has 200 files in it.
Each file contains tab separated data...
What I want to do is have a script that parses each file in the 'things' directory, and have the script add a record in a database that has data in two fields"
Field one: the piece of data in the file
Field two: the name of the file currently being parsed
Does this make sense? I can get data into databases okay, but loading, parsing, and getting the filename of each file in the 'things' directory is the piece I'm missing - Though I'm likely missing more :)