lsw-fabian
Ok Sounds great and needed ...
in the meantime what about:
instance.file_import(
file_path TEXT,
attribute_id UUID,
record_id BIGINT DEFAULT NULL
) => INTEGER
Creates a file processing job to import a file from disk. Relevant parameters:
file_path: Where to import the file from (must end in a filename)
attribute_id: ID of files attribute that receives the file
record_id: ID of record to update files attribute value of (NULL = new record)
The source file is deleted, if the import is successful.
The filepath is always relative to the import path, defined in the server configuration file. For security reasons, absolute paths are not supported.
couldn't i import that way ? (ok the importlocation is fixed but that is doable