FTP prune
FTPprune is a Perl script to manage a remote ftp archive
...FTPprune will go through the archive and remove the oldest files reducing the archive size to a maximum that you specify, optionally preserving the last (-a) days of files. There are a few other options too - see the wiki for command line usage and Perl modules required.