[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] fetch conduits fail



Hi all,

I have almost got my conduits up and running, but when i try to run a
dump conduit, I get the following output:
Updating user info.
404 Missing Daemon header
Missing Daemon header
ColdSync terminating normally

coldsync.conf
conduit fetch, dump {
        path: /var/www/phpgroupware/palmsync/perl_client/test.pl;
        type: addr/DATA;
}

test.pl - editted
# snip
ConduitMain(
  "fetch" => \&DoFetch,
  "dump" => \&DoDump,
);
#snip
sub DoDump{
        select STDERR;

        my $phpGW = phpGW->new();
        $phpGW->RestoreSession($HEADERS{'PDA-Username'},
$HEADERS{'PDA-Snum'});
        #$phpGW->logout();

        return 1;
}

phpGW.pm is a bunch of methods for dealing with phpgroupware (my data
source) via xml-rpc.

I am not sure what is wrong ... any ideas?

btw i am running coldsync 3.0pre3 as a inetd daemon mode, with a POSE
client - I might be able to afford a real palm when i finish this work ;)

TIA

Dave
begin:vcard
n:Hall;Dave
fn:Dave Hall
tel;fax:+61 3 8610 0029
tel;work:+61 3 96 871 871
org:Dave Hall Consulting;
adr:;;;;;;AUSTRALIA
version:2.1
email;internet:dave.hall@mbox.com.au
end:vcard