I would like a way to generate a permalink which will log me into nextcloud in the browser and open a specific file, so that I can access these files via a database I am in the process of developing.
- I don’t want shares - which are publically available (unless I can ‘share’ the file with myself)
- Using curl or wget to download the files is too time consuming because I need to download the file to a second location then open it from there.
- I need to generate the links automatically via bash and PHP
Can I do this? Something along these lines seems to be suggested here – https://github.com/nextcloud/server/issues/952 – but it isn’t documented.