Django file upload with FTP backend
It looks like your import is wrong. If the file is named ftp.py
the import should be:
from ftp import FTPStorage
Depending on where the file is relatively to your PYTHONPATH you might need to add more, e.g.:
from your_app.ftp import ...
Try this
models.py
from storages.backends.ftp import FTPStorage
fs = FTPStorage()
settings.py
DEFAULT_FILE_STORAGE = 'storages.backends.ftp.FTPStorage'
FTP_STORAGE_LOCATION = 'ftp://user:password@localhost:21'