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 
/SOGo/dav/t...@example.com/Contacts/personal/ HTTP/1.1" 500 36/347 0.023 - - 0

Wrong ressource?


Ah. Maybe it's because it does not specify a "content-type". If you can specify it, the right value would be "text/x-vcard".



--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to