Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a library to add Ubuntu One files (cloud) monitoring facility into my app, e.g. to watch certain folder for the changes?

share|improve this question
have you logged into at the Ununtu One website @ – stephenmyall Jul 6 '12 at 13:23
@StephenMyall I want to include monitoring facility into the program I'm writing or could you clarify your questions, pls? – wik Jul 6 '12 at 19:41
Are you interested in the state of the cloud version of the files, or the local copy? If you are only interested in the local copy, then any of the existing file change notification APIs should do. – James Henstridge Jul 10 '12 at 6:03
@JamesHenstridge the state of the cloud version of the files – wik Jul 10 '12 at 20:28
up vote 2 down vote accepted

At the moment there is no realtime notification of file changes to cloud files. However, if you're happy to poll, you can retrieve the data for a directory with the cloud files API at You can also retrieve the generation for a volume (a whole synced folder); any change to anything in that synced folder will increment the generation number, so it's the first thing to look at if you're polling.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.