Use an app password, not your login password.
Folder must already exist in your Nextcloud.