Forum Moderators: phranque

Message Too Old, No Replies

how to find files on webserver added or changed after certain date?

         

zollerwagner

5:26 pm on May 19, 2006 (gmt 0)

10+ Year Member



Is there a way to search a webserver for files changed or added after a particular date?

aspdaddy

9:26 am on May 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, depending on what platform language youhave available, you can use the filesytem or directory service API.

Typically youwoulkd write a script to loopthrough the folder(s) and output the Created or last Modified property of each file using an IF..Then to catch only those greater than a given date.

zollerwagner

3:18 pm on May 20, 2006 (gmt 0)

10+ Year Member



That's interesting. I hadn't thought about using PHP to do this. Thanks for the idea!