Question: how to transfer data from mac to icloud?
Answer: Select the file(s) or folder(s) as usual in the Finder of Mac OS X. Open a new Finder window and choose 'iCloud Drive' from the sidebar. While dragging the selected file to iCloud Drive start to hold down the Option key. Drop the file into the destination on iCloud Drive as usual, releasing the Option key afterwards.