Ok, it seems to work with owncloudcmd. The client sucks apparently #owncloud