This submodule provides ability to process and parse import requests.
Most important function in this matter is the process_import_request(), which is called from from ftp.monitor.process_log(). When it is called, it scans the user’s home directory, detects new files, pairs them together into proper objects (see ftp.structures, speficifally MetadataFile, EbookFile and DataPair).
React to import request. Look into user’s directory and react to files user uploaded there.
Behavior of this function can be set by setting variables in ftp.settings.
Parameters: |
|
---|---|
Returns: |