Filename (document) - different folder

Hi there,

I want to store all my uploaded files with my own app to nextcloud server which is running on my server.

My app runs on - local path: /home/website/
My nextcloud runs on - local path: /home/website/

Both domains are on the same server. Server is based on Linux.

How can I set Filename path (in Form app) that it stores my new file to /home/website/ ?

I tried to set “Subfolder” to “/home/website/{idFile}/”, but it does not work.

Please help me out.

Thank you!


i use a similar thing for users they have their own folder.
set a global in onscriptinit

[idFile] = {idFile};

then in the folder field location use the global