stella-maris / ftpforwarder
Forward FTP-transmitted files to a custom data-backend
0.2.0
2024-12-14 18:55 UTC
Requires
- php: ^8.3
- ext-sockets: *
- react/socket: ^1.15
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.