|
Posted by Noozer on 03/24/06 08:11
I'm a complete PHP newbie, but I have need of a PHP script...
What I need the scrip to do is the following:
- Log into an FTP server
- Go to a specific directory
- Check all folders in that directory for the following
- If "aFile." is more than a month old, output it to the browser (aFile
with no extension)
- If "aFile.?*" exists and is more than a week old, delete it. (aFile with
any extension, but not a blank extension)
- If any other file exists besides "aFile." or "aFile.*" exists, output it
to the browser.
....that's it.
Can this be done in PHP? If so, how?
Thanks!!! It's appreciated!!!
[Back to original message]
|