I made Desktop-iCloud folder which is easy with new Catalina. That is, what files I copy to this folder is uploaded to iCloud automatically. Here I wrote sample script to retrieve Downland link from iCloud to the clipboard. The principle is momentary sharing the chosen file with me, to be able then to retrieve the link. I will enhance my script. But it works already, as is: