There are some functions named "upload" in the source. I would look how file manager in mystandard works. I never did something like this before, so cannot tell you more.
Is it possible to use the parameter --skip-register-on-import with multiple registers, either by using a comma-separated string or by specifying this parameter multiple times in parameters.txt?
Thi...