https://github.com/raineycat/gleam-ftp
An FTP server written in Gleam
https://github.com/raineycat/gleam-ftp
Last synced: about 2 months ago
JSON representation
An FTP server written in Gleam
- Host: GitHub
- URL: https://github.com/raineycat/gleam-ftp
- Owner: raineycat
- License: lgpl-3.0
- Created: 2025-08-07T20:43:08.000Z (about 2 months ago)
- Default Branch: mistress
- Last Pushed: 2025-08-07T20:56:01.000Z (about 2 months ago)
- Last Synced: 2025-08-07T22:23:34.739Z (about 2 months ago)
- Language: Gleam
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gleam - raineycat/gftp - A Gleam FTP server, using Erlang/OTP (Projects / Network applications)
README
# Gleam FTP Server

A simple FTP server written in Gleam
```sh
# Run the server with some example arguments
gleam run -- --port 2100 --base-dir ./data --welcome "My FTP Server" --allowed-logins "me:hunter2"
```### Available options:
- `--address`: The address to bind to (default: `0.0.0.0`)
- `--port`: The port the server listens on (default: `21`)
- `--welcome`: The welcome message to send to clients (default: `GleamFTP Server`)
- `--external-address`: The public IP of the server, sent to clients when connecting with passive mode (default: `127.0.0.1`)
- `--base-dir`: The directory to serve files from (default: `.`)
- `--allowed-logins`: A list of users and passwords to authorise logins against. Format: `username:password,user2:pass2` (default: `root:root`)
- `--help`: Shows more info about the command line options### Available flags:
- `--allow-anon`: Allows anonymous connections to the server
- `--anons-can-write`: Allow anonymous clients to create/write/delete files on the server; by default they have read-only access
- `--read-only`: Rejects create/write/delete actions sent by clients