This is my dilemma. The data is stored in Opie in 4 XML files, but I 
cannot tell the difference between "cannot connect to device" and 
"connected ok, but file not present". 

I think I can probably detect the difference with FTP actually (curl has 
various return codes) although I haven't tried specifically. The problem 
is with SFTP - I can only figure out how to get success or failure.

If someone has a suggestion, preferrably one that doesn't involve race 
conditions, I am all ears!

Tom


On Thu, 2 Oct 2003, Bo Lincoln wrote:

> 
> > 2. If you use the same sync pair then it keeps state and will assume
> > that you deleted all of the contacts. What you want to do is delete your
> > existing sync pair for Evo <-> Opie and create a new one. This should
> > force option b)
> 
> Tom, is it possible to detect that the databases have been reset? In
> most other cases there is a serial number of the DB which can be read,
> and if this has changed, return "newdbs=0xff". This will force a
> resynchronization so that all entries are pushed to the Opie device
> again.
> 
> This is how the IrMC and SyncML plugins work.
> 
> /Bo
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Multisync-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-devel

Reply via email to