Upload file with retention via api

Hi there
I’m brand new with nextcloud. Is there a way to upload files to a nc Server?
Is there a Manuel or some examples?

Via nextcloud client or directly via webdav.

Thx for reply.
But, is it possible to set security settings to it or furthermore to get back a external link.
I try to dev an applicant to upload files with lifetime retention and send that external link via mail. This guy should be able to download the file for the given retention time.


There is the pyocclient which does much of this stuff, if it doesn’t already solve your issue, you can use it as a model: