You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

💡 Did you know?

⏺ If you can't accept iCloud Terms and Conditions... Learn more >

⏺ If you don't see your iCloud notes in the Notes app... Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I know, just by code - not by looking at Finder, if a file on icloud drive is local or in the process of being downloaded?

Hello


I need to find a secure way to identify whether an iCloud drive file is available on local disk or it is only in iCloud.


How do I know using a code, any language, what is the file status: local - fully downloaded, on iCloud ou in download process?


I imagine there must be some kind of property that can be accessed programmatically and inform the status, whether local, in the cloud or in the download process, just as it is available in the finder through icons.

(However, I need to do this by code, perhaps by reading file properties.)


Thank you very much and I appreciate any help in advance.

MacBook Air 13″, macOS 14.5

Posted on Jul 28, 2024 6:36 AM

Reply

There are no replies.

How do I know, just by code - not by looking at Finder, if a file on icloud drive is local or in the process of being downloaded?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.