Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 @ one.ubuntu.com –  Stephen Myall 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

1 Answer 1

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 https://one.ubuntu.com/developer/files/store_files/cloud. 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.