• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cffile 'RENAME'

Guest
Jun 28, 2007 Jun 28, 2007

Copy link to clipboard

Copied

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



TOPICS
Advanced techniques

Views

215

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 28, 2007 Jun 28, 2007

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation