I use CFFile to allow my clients to upload a text file to a folder on the server. I then want to import the text file into an existing table.
I can't put inserts into loops and have several other restrictions on my environment.
The page process on the upload is this:
upload a file to server using cffile, import the text into the database, then delete the file from the server, display results of the import to the client that did the upload.
I have the upload, and delete page coded, all i need to figure out now is how to import the text file automatically into the database when the file name is unknown until the upload.
I have never coded a stored procedure or trigger so if this is the easiest way, please baby step me through it!
We run Coldfusion MX & SQL Server 2000
Thanks in advance!!!!
Jon
I can't put inserts into loops and have several other restrictions on my environment.
The page process on the upload is this:
upload a file to server using cffile, import the text into the database, then delete the file from the server, display results of the import to the client that did the upload.
I have the upload, and delete page coded, all i need to figure out now is how to import the text file automatically into the database when the file name is unknown until the upload.
I have never coded a stored procedure or trigger so if this is the easiest way, please baby step me through it!
We run Coldfusion MX & SQL Server 2000
Thanks in advance!!!!
Jon