Hi Ferdinand,
I am trying to encapsulate some parts of the code in function of the upload file, to make it generic and to pass different node IDs to it.
When I try to run the code, it dont give me any error, but it's just not working...
Added the code that you helped me with, for uploading a file from client env, with my changes for encapsulation.
Will appriciate some guidelines.
I suspect it has something to do with clousures and function scopes, but even declaring all objects globally didnt help.
Thanks in advance.