Question: how to transfer files through icloud?
Answer: In the Finder , select iCloud Drive, select a folder or document, click the Share button , then choose Add People. ... 
In an app that supports iCloud File Sharing, open a document, click the Share button , then choose Add People.