https://github.com/andriykohut/docker-pyftpdlib
Simple FTP server with pyftpdlib
https://github.com/andriykohut/docker-pyftpdlib
docker-pyftpdlib ftp ftp-server ftpd-server pyftpdlib
Last synced: 8 months ago
JSON representation
Simple FTP server with pyftpdlib
- Host: GitHub
- URL: https://github.com/andriykohut/docker-pyftpdlib
- Owner: andriykohut
- License: mit
- Created: 2016-04-29T13:35:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T14:36:06.000Z (over 4 years ago)
- Last Synced: 2025-03-25T16:45:01.081Z (about 1 year ago)
- Topics: docker-pyftpdlib, ftp, ftp-server, ftpd-server, pyftpdlib
- Language: Python
- Size: 5.86 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-pyftpdlib
Simple FTP server with pyftpdlib
https://hub.docker.com/r/akogut/docker-pyftpdlib/
## Running the server:
```
docker run -it --rm -p 21:21 akogut/docker-pyftpdlib
[I 2016-04-29 18:01:49] >>> starting FTP server on 0.0.0.0:21, pid=5
[I 2016-04-29 18:01:49] concurrency model: async
[I 2016-04-29 18:01:49] masquerade (NAT) address: None
[I 2016-04-29 18:01:49] passive ports: None
```
In another terminal run `ftp ` and you should get something like this:
```
Connected to 192.168.99.100.
220 pyftpdlib 1.5.0 ready.
Name (192.168.99.100:akogut): user
331 Username ok, send password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
```
## Command line arguments:
```
docker run -it --rm -p 21:21 [-p 3000-3010] akogut/docker-pyftpdlib python ftpd.py -h
usage: ftpd.py [-h] [--user USER] [--password PASSWORD] [--host HOST]
[--port PORT] [--passive PASSIVE] [--anon]
optional arguments:
-h, --help show this help message and exit
--user USER Username for FTP acess (user will be created) (default:
user)
--password PASSWORD Password for FTP user. (default: password)
--host HOST
--port PORT
--passive PASSIVE Range of passive ports (default: 3000-3010)
--anon Allow anonymous access (default: False)
```