Source

djftpd / tests / basic_test.py

Full commit
1
2
3
4
5
6
7
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

from djwftpserverd import create_basic_ftpserver

ftpd = create_basic_ftpserver()
ftpd.serve_forever()