Question
CFFILE Rename/Move Error? Glitch?
I have an application that needs that processes a file and
needs to rename the file when it finishes processing. I keep
getting an (apparently common) error stating:
Attribute validation error for tag CFFILE.
The value of the attribute source, which is currently "C:\Program Files\cigna\excel2querytest.xls", is invalid.
I've noticed the same thing that many people who have posted about this error have: sometimes the process flows through without any errors. The error occurs whether the source/destination is hard coded or is stored in variables. The error occurs whether I use action="RENAME" or action="MOVE". A test using FileExists() always returns true. Before I execute the code I always make sure that the original file exists, and the destination file does not.
Does anyone know what is causing this problem and if there is a work-around? It seems like this is a pretty nasty bug in CF that a fair number of people have come across (FYI I'm using CFMX7).
Any help would be greatly appreciated.
Thanks!
Attribute validation error for tag CFFILE.
The value of the attribute source, which is currently "C:\Program Files\cigna\excel2querytest.xls", is invalid.
I've noticed the same thing that many people who have posted about this error have: sometimes the process flows through without any errors. The error occurs whether the source/destination is hard coded or is stored in variables. The error occurs whether I use action="RENAME" or action="MOVE". A test using FileExists() always returns true. Before I execute the code I always make sure that the original file exists, and the destination file does not.
Does anyone know what is causing this problem and if there is a work-around? It seems like this is a pretty nasty bug in CF that a fair number of people have come across (FYI I'm using CFMX7).
Any help would be greatly appreciated.
Thanks!
