[SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Patrick Ben Koetter
I need to import 50 adressbook in LDIF format and I thought I'd use curl to do a POST to the adressbook URL. But it seems (my naive interpretation) I get the URL wrong: % curl -v -X POST -u t...@example.com -d @adressbook.ldif https://mail.example.com/SOGo/dav/t...@example.com/Contacts/personal/

Re: [SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Wolfgang Sourdeau
Le 11-03-30 15:12, Patrick Ben Koetter a écrit : I need to import 50 adressbook in LDIF format and I thought I'd use curl to do a POST to the adressbook URL. But it seems (my naive interpretation) I get the URL wrong: Hi Patrick, The DAV addressbooks do not support LDIF importation. You need

Re: [SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Patrick Ben Koetter
Hi Wolfgang, * Wolfgang Sourdeau users@sogo.nu: Le 11-03-30 15:12, Patrick Ben Koetter a écrit : I need to import 50 adressbook in LDIF format and I thought I'd use curl to do a POST to the adressbook URL. But it seems (my naive interpretation) I get the URL wrong: The DAV addressbooks

Re: [SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Wolfgang Sourdeau
I found a script that converts LDIF to vCard and created a vcard file, but my curl call fails: curl -X POST -u t...@example.com -v -d @adressbook.vcf https://mail.example.com/SOGo/dav/t...@example.com/Contacts/personal/ sogo.log reports: 127.0.0.1 - - [30/Mar/2011:21:33:06 GMT] POST

Re: [SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Patrick Ben Koetter
* Wolfgang Sourdeau users@sogo.nu: I found a script that converts LDIF to vCard and created a vcard file, but my curl call fails: curl -X POST -u t...@example.com -v -d @adressbook.vcf https://mail.example.com/SOGo/dav/t...@example.com/Contacts/personal/ sogo.log reports: 127.0.0.1 -

Re: [SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Wolfgang Sourdeau
The server still reports: 127.0.0.1 - - [30/Mar/2011:22:17:02 GMT] POST /SOGo/dav/t...@state-of-mind.de/Contacts/personal/ HTTP/1.1 500 36/328 0.023 - - 0 The URL is correct, yes? Yep If it is I don't see what I could change right now. Anything I can to do increase log verbosity on the

Re: [SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Patrick Ben Koetter
* Wolfgang Sourdeau users@sogo.nu: The server still reports: 127.0.0.1 - - [30/Mar/2011:22:17:02 GMT] POST /SOGo/dav/t...@state-of-mind.de/Contacts/personal/ HTTP/1.1 500 36/328 0.023 - - 0 The URL is correct, yes? Yep If it is I don't see what I could change right now. Anything I can

Re: [SOGo] Uploading an addressbook with curl?

2011-03-30 Thread Wolfgang Sourdeau
Can you try with text/x-vcard; charset=utf-8 instead ? W. -- users@sogo.nu https://inverse.ca/sogo/lists