Owncloud supports selective sync, and seems a lot better for performance compared to Nextcloud.
Alternatively you could roll your own with rclone which is essentially an open source alternative to mountain duck. Then you can just use a simple connection via SFTP, FTP, WebDAV, etc…