hallo jeremy,

exactly this setup works for me with the attached patch (sent it to the
multisync developer's mailing list a few days ago but haven't received
any reaction yet :-/ )

hope this helps,

   guenter

On Thu, 2004-11-11 at 13:20 -0800, Jeremy O'Leary wrote:
> Hi all,
> 
> Well I finally managed to get my own linux box at work and I would love
> to be able to sync my Zaurus SL-5500 running OZ 3.3.5 with my Evolution
> box at home and at work.  I'm assuming other people are doing this, are
> you having any problems with it?  Any suggested procedure? 
> 
> thanks,
> 
> Jeremy
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Multisync-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/multisync-users
? .in
? Makefile
? Makefile.in
? aclocal.m4
? autom4te.cache
? config.h
? config.h.in
? config.log
? config.status
? configure
? libtool
? stamp-h1
? po/Makefile.in
? src/.deps
? src/.libs
? src/.opie_comms.c.swp
? src/.opie_comms.h.swp
? src/.opie_sync.c.swp
? src/Makefile
? src/Makefile.in
? src/callbacks.lo
? src/gui.lo
? src/interface.lo
? src/libopie_sync.la
? src/opie_changes.lo
? src/opie_comms.lo
? src/opie_config.lo
? src/opie_log.lo
? src/opie_qcop.lo
? src/opie_sync.lo
? src/opie_vtype.lo
? src/opie_xml.lo
? src/support.lo
Index: src/opie_comms.c
===================================================================
RCS file: /cvsroot/multisync/multisync/plugins/opie_sync/src/opie_comms.c,v
retrieving revision 1.13
diff -u -r1.13 opie_comms.c
--- src/opie_comms.c	30 Mar 2004 04:56:26 -0000	1.13
+++ src/opie_comms.c	6 Nov 2004 22:40:56 -0000
@@ -266,11 +266,12 @@
     {
       fetch_pair* pair = g_list_nth_data(files_to_fetch, t);
       
-      ftpurl = g_strdup_printf("ftp://%s:[EMAIL PROTECTED]:%u/%s",
+      ftpurl = g_strdup_printf("ftp://%s:[EMAIL PROTECTED]:%u/%s/%s",
                                conn->username,
                                conn->password,
                                conn->device_addr,
                                conn->device_port,
+			       conn->path,
                                pair->remote_filename);
               
       fd = fopen(pair->local_filename, "w"); 
@@ -395,11 +396,12 @@
       break;
   }
   
-  ftpurl = g_strdup_printf("ftp://%s:[EMAIL PROTECTED]:%u/%s",
+  ftpurl = g_strdup_printf("ftp://%s:[EMAIL PROTECTED]:%u/%s/%s",
                            conn->username,
                            conn->password,
                            conn->device_addr,
                            conn->device_port,
+			   conn->path,
                            dest_filename);
   
   /* get the file size of the local file */
Index: src/opie_comms.h
===================================================================
RCS file: /cvsroot/multisync/multisync/plugins/opie_sync/src/opie_comms.h,v
retrieving revision 1.5
diff -u -r1.5 opie_comms.h
--- src/opie_comms.h	20 Feb 2004 15:55:14 -0000	1.5
+++ src/opie_comms.h	6 Nov 2004 22:40:56 -0000
@@ -54,6 +54,7 @@
   gboolean enable_qcop;
   char* username;
   char* password;
+  char* path;
 } opie_conn;
 
 
Index: src/opie_sync.c
===================================================================
RCS file: /cvsroot/multisync/multisync/plugins/opie_sync/src/opie_sync.c,v
retrieving revision 1.12
diff -u -r1.12 opie_sync.c
--- src/opie_sync.c	30 Mar 2004 04:56:26 -0000	1.12
+++ src/opie_sync.c	6 Nov 2004 22:40:59 -0000
@@ -111,6 +111,7 @@
   g_assert(conn);
   conn->sync_pair = handle;
   conn->commondata.object_types = object_types;
+  conn->path="";
   
   calendar = NULL;
   contacts = NULL;
@@ -138,6 +139,7 @@
                             conn->password);
     if (qcopconn->result)
     {
+      conn->path = qcop_get_root(qcopconn);
       qcop_start_sync(qcopconn, &sync_cancelled);
       if (!qcopconn->result)
       {

Reply via email to