Reply to Clean up FTP site via PHP?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация