I’m trying to dynamically create files through an app I’m developing, but without success.
I attempted to use
touch method. Interestingly, it does not throw any exception even though the file is not created. it simply does not create the file and returns
I checked to see if it’s a case of folder permission and does not seem to be, as I chmod’ed 777 the whole data folder just to find out if it was the case.
I’m sharing here a fork of the “notestutorial” app with just a few changes trying to acomplish this:
This is where I learned about how files should be created. The branch above follows the instructed approach: https://docs.nextcloud.com/server/latest/developer_manual/app/storage/filesystem.html
Thanks in advance!