You are here: Re: Clean up FTP site via PHP? « All PHP « IT news, forums, messages
Re: Clean up FTP site via PHP?

Posted by Noozer on 03/24/06 11:59

"Noozer" <dont.spam@me.here> wrote in message
news:X3MUf.176735$H%4.4745@pd7tw2no...
> 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.

> Can this be done in PHP? If so, how?

Figured it out! My first working PHP script!

: )

 

Navigation:

[Reply to this 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

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