https://support.apple.com/kb/PH27917?locale=en_US
I use the 'Drive' app of my Synology NAS and I am very happy with it.