FTP server application that used user authentication of Django.
- Install django-ftpserver by pip.
$ pip install django-ftpserver
- Add line to settings.INSTALLED_APPS for your django project.
INSTALLED_APPS = ( # .. 'django_ftpserver', )
- Migrate app.
$ python manage.py migrate
- Create FTP user group.
$ python manage.py createftpusergroup my-ftp-group
- Create FTP user account.
$ python manage.py createftpuseraccount <username> my-ftp-group
<username>
is the django authentication username.
- Run
manage.py ftpserver
command.
$ python manage.py ftpserver 127.0.0.1:10021
- Connect with your favorite FTP client.
- Target Python version is 3.6, 3.7, 3.8, 3.9, 3.10
- Django>=2.2
- pyftpdlib
This software is licensed under the MIT License.
The latest documentation is hosted at Read The Docs.
https://django-ftpserver.readthedocs.org/en/latest/
This project is hosted at Github: https://github.com/tokibito/django-ftpserver
- Shinya Okano