Results 1 to 9 of 9

Thread: Check file attributes and delete [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    Check file attributes and delete [Resolved]

    I need to know how to check the create time on all the files in a certain folder on the server and delete them if they are older than 30 minutes.

    Users will be creating reports on the server and then downloading them. I'm giving them 30 minutes to create the report and download it before I remove it from the server so I'm not hogging a bunch of room on the server HD.

    I know I have to use unlink to delete the files, but how do I check the file attributes?
    Last edited by ober0330; Jul 20th, 2004 at 08:17 AM.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width