Re: Is there something like CFTRANSACTION to use with CFFILE?

2002-11-14 Thread Brook Davies
No, is about as easy as it gets, just add the file.serverfile name to a list or structure as your processing and then loop over it, while deleting the files, in your catch block. You should also use a cftry/cfcatch statement around the first catch clause (where you are deleting the files), sin

Is there something like CFTRANSACTION to use with CFFILE?

2002-11-14 Thread Bob Haroche
I have a image upload routine that in the abstract looks like this: through 5 upload fields upload file re-name/re-size file query db to see if file name already exists if not, query db to insert new record If something fails within the tags, the db isn't updated, which is what I want. Ho