rootftp
Rust-based FTP server with with custom configurable, sharing directories across private networks. Built on the top of libunftp.
Installation
- Install via Crates.io
- Build from source (Recommanded)
Additional systemd service
Usage
- To start the server
Add the -d flag to launch the server in the background as a daemon process.
If installed via script
- To stop the server
- To set a custom root directory:
- To check current status/config:
Directory Layout
By default (unless you override with setdir), rootftp chooses your home directory:
Under <root_dir>/ftpd/, each authenticated user automatically gets:
<root_dir>/ftpd/<username>/
)
Outbox
For sharing files among users (user to user):
- Create a folder with this convention
<your_root>/outbox/share.<user_to_send>/ ()
- Put files to share in this folder
- inotify watches outbox/ and shares respective file.
- Reciever will found these files in his inbox/ directory