2

In Mountain Lion, iCloud is "integrated" in every program. So when i open or save a document i have an iCloud option available.

But where are the documents? Are they local and get syned every now and then, or is it WebDAV or just http?

The documents load very fast, and there seems to be no delay.

3 Answers 3

2

iCloud documents are cached locally in ~/Library/Mobile Documents (~ represents your home folder).

They're synchronized via HTTPS (even when the application is closed) and the files (some of them, at least), are stored on Amazon S3.

When opening, editing and saving a TextEdit document from iCloud, these requests are made :

  • POST request to https://p**-ubiquity.icloud.com/ub/*********/rwsync/********…
  • POST request to https://p**-content.icloud.com/*********/authorizePut
  • PUT request to Amazon S3
  • POST request to https://p**-content.icloud.com/*********/putComplete
  • POST request to https://p**-ubiquity.icloud.com/ub/*********/rwsync/********…
  • POST request to https://p**-ubiquity.icloud.com/ub/*********/rosync/********…
5
  • Amazon S3? Typo?
    – stuffe
    Commented Jul 27, 2012 at 8:50
  • No, I'm talking about Amazon S3.
    – olivier
    Commented Jul 27, 2012 at 8:53
  • OK, sorry for confusion. Seemed odd is all.
    – stuffe
    Commented Jul 27, 2012 at 8:56
  • How do you get this information? WireShark? Or are there any documents?
    – ohboy21
    Commented Apr 3, 2013 at 16:59
  • I used Charles. But it is probably doable as well with WireShark.
    – olivier
    Commented Apr 4, 2013 at 3:53
0

Not sure if it's the same in Mountain Lion, but in Lion, iCloud documents are stored in ~/Library/Mobile Documents.

0

For clarity, existing answers state that the documents are stored at location X - whilst both are correct, please ensure you understand that they are merely cached in those locations, and if the iCloud synchronisation process detects a more up to date version in the cloud, then it will have to get it from there. In addition, for speed iCloud transfers META properties about the files it know about per application before loading content, which enables it to more speedily show you what is available.

1
  • You're right, I edited my answer to clarify that. Thanks!
    – olivier
    Commented Jul 27, 2012 at 8:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .