I need to upload several files to a directory and rename them acc. to certain
naming convention. If I upload a new file and try to give it a name that
already exists in the directory, the old file with the same name gets
overwritten by a new one. And as far as I know action='RENAME' does not
support nameconflict='MAKEUNIQUE'.
Is there any work around?
We are running CFMX 7 on Linux.
Thanks
jdeline - 28 Jun 2007 16:44 GMT
You will probably have to do a FileExists( ) function before the CFFILE rename. If the file already exists, you will have the chance to deal with the issue.