I’m trying to automate folder sharing on Nextcloud using the API. The issue I’m facing is that when I create a public link for a folder, I’m unable to set it to “File drop only” (upload-only mode). The API consistently generates a link where users can view and download files, instead of restricting them to uploads only.
I’ve followed the documentation and tried using permissions = 4
and publicUpload = "true"
, but it’s not working as expected. The only related post I found was from 2017, with no answers: File Drop via API.