[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] fetch conduits fail
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] fetch conduits fail
- From: Dave Hall <dave dot hall at mbox.com.au>
- Date: Sun, 26 Jan 2003 22:53:57 +1100
- Reply-to: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
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