I would like to delete a folder using FTP.

I only have FTP access through the firewall to the FTP server.

And I am looking a writting a perl script which will fTP and delete the folder which is less than 3 weeks old.

If anyone has any suggestions would be great.