thinFTP Documentation#

A minimal, lightweight FTP server implementation in Python.

Note

thinFTP is designed to be a simple, educational FTP server. It’s perfect for learning about FTP protocols or for lightweight development scenarios.

Quick Start#

Install thinFTP:

pip install thinftp

Run the server:

thinftp --bind localhost --port 2121 --user testuser

Or programmatically:

from thinftp.server import start_server
from thinftp.logger import get_logger
from argparse import Namespace

config = Namespace(
    bind='localhost', port=2121, user='anonymous',
    pswd='', directory='.', lgr=get_logger()
)
start_server(config)

Features#

  • πŸš€ Lightweight: Minimal dependencies and footprint

  • πŸ“ Well-documented: Comprehensive documentation with examples

  • πŸ”§ Configurable: Easy to customize and extend

  • 🐍 Pure Python: No external dependencies required

  • πŸ“‹ FTP Compliant: Implements standard FTP protocol

Table of Contents#

Development

Indices and tables#