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

Delete Uploaded Files after 10 days

New Here ,
Jun 27, 2006 Jun 27, 2006

Copy link to clipboard

Copied

Files are uploaded to a folder.
I would like files older than 10 days to be automatically deleted.

The server is running Win2K and CF7 Standard.
I'm thinking along the lines of having a scheduled task run a coldfusion script in the middle of the night.
Is this the right approach?

Thanks in advance
Alex
TOPICS
Advanced techniques

Views

270

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
Engaged ,
Jun 27, 2006 Jun 27, 2006

Copy link to clipboard

Copied

LATEST
yep - that would be your best bet - run a script in sheduler daily that checks for files that are 10+ days old.

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