Is there a programmatic way to know the icloud status of a given local file?

The Finder displays the iCloud status (in the cloud, downloading, local) of every file associated with iCloud. How does it do this? Is there a way to search a given local folder and discover what the Finder knows?

Is there a way to tell it programmatically to download any icloud files that aren’t downloaded?

Look at the resource properties described in Ubiquitous Keys group on this page.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is there a programmatic way to know the icloud status of a given local file?
 
 
Q