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.

I'm writing ubuntu one app in Python that Download files. It is working fine, but i want to modify it as if uploaded file changes, it downloads that file in current directory and so on. Does anyone have any idea how to do this? which api should i use.

share|improve this question
    
The official Ubuntu One client already does this, and it is free software. Have you tried giving a quick look at its source code? –  Andrea Corbellini Sep 25 '13 at 7:41
add comment

1 Answer 1

up vote 0 down vote accepted

You cannot do this with using the REST API to talk to the Ubuntu One file sync service, as it has no method of pushing out notifications to your client program. The only way to do this is to use the persistent connection of the internal synchronization protocol, which the official ubuntuone-client code already uses.

share|improve this answer
add comment

Your Answer

 
discard

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.