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

detecting files before CFFILE delete

New Here ,
Dec 18, 2006 Dec 18, 2006

Copy link to clipboard

Copied

Does any know the best way to verify a file exists before deleting with cffile action=delete?

Unable to delete the file 'd:\web_root\demo\site\images\thename.jpg.' The system cannot find the file specified.
TOPICS
Advanced techniques

Views

211

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
Dec 18, 2006 Dec 18, 2006

Copy link to clipboard

Copied

LATEST
shot in the dark...but how about fileExists()? :)

http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000461.htm

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