# proftpd.tcl

**Category:** Eggdrop_Bot
**Original Author:** Alex Kramarov

## Description
This script is designed to manage FTP server access through IRC commands, providing real-time statistics and allowing authorized users to connect by triggering specific CTCP messages.

## Key Features
- Manages FTP server access using CTCP commands.
- Provides real-time statistics about the FTP server.
- Allows users to check who is currently connected, allowed hosts, and historical connections.
- Automatically updates the `/etc/proftpd.allow` file based on user requests.
- Uses a cron job to manage access logs and clean up old entries.

## File Analysis
- **proftpd.tcl** — A Tcl script that handles CTCP commands for FTP server access management.
- **INSTALL** — Instructions for installing and configuring the script, including setting up directories and modifying configuration files.
- **AUTHORS** — Lists the original author of the script.
- **eggdrop_crontab** — A cron job to manage access logs by moving old entries to a history directory and cleaning them up.
- **root-crontab** — A root-level cron job that updates the `/etc/proftpd.allow` file based on user requests.
- **update_ftp_access** — A Bash script that updates the FTP server's allow list based on the current access logs.