This FTP storage is not prepared to work with large files, because it uses memory for temporary data storage. It also does not close FTP connection automatically (but open it lazy and try to reestablish when disconnected).
This implementation was done preliminary for upload files in admin to remote FTP location and read them back on site by HTTP. It was tested mostly in this configuration, so read/write using FTPStorageFile class may break.
To use FtpStorage set:
DEFAULT_FILE_STORAGE = 'storages.backends.ftp.FTPStorage'
- URL of the server that holds the files. Example
- URL that serves the files stored at this location. Defaults to the value of your
- File encoding. Example
'utf-8'. Default value