stella-maris/ftpforwarder

Forward FTP-transmitted files to a custom data-backend

0.2.0 2024-12-14 18:55 UTC

This package is auto-updated.

Last update: 2024-12-14 17:58:15 UTC


README

A minimal FTP-Server implementation that forwards submitted files to somewhere else

The usecase that sparked the implementation was an appliance that could put files onto an FTP-Server but not forward them via EMail. Building an FTP-Server that receives files and forwards them to an email-address seemed like a fitting solution.

Usage

  • Install the package as dependency via
    $ composer require stella-maris/ftpforwarder
    
  • Create a Class that implements the StellaMaris\FtpForward\DataBackend interface
  • Create a server-script. Use the one available in the packages bin-folder as example.
  • Run the server-script.