Django FTP server¶
FTP server application that used user authentication of Django.
Getting Started¶
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.
Requirements¶
Target Python version is 3.6, 3.7, 3.8, 3.9, 3.10
Django>=2.2
pyftpdlib
License¶
This software is licensed under the MIT License.
Documentation¶
The latest documentation is hosted at Read The Docs.
Develop¶
This project is hosted at Github: https://github.com/tokibito/django-ftpserver