Hi,
I want to import an ICS and a VCF file, but my Zimbra installation is hosted and so I don't have access to a shell. Can I import ICS and VCF via the REST interface, or any other means?
(Yes, I know I can convert the VCF to CSV and import.)
Hi,
I want to import an ICS and a VCF file, but my Zimbra installation is hosted and so I don't have access to a shell. Can I import ICS and VCF via the REST interface, or any other means?
(Yes, I know I can convert the VCF to CSV and import.)
Do you have access to a shell?
As long as you have access to curl (doesn't matter where) you can upload ical, and vcf files to your server using the rest interface.
Not sure about VCF, never tried it. You might be able to do:Code:curl -u username:password --data-binary @/home/mycal.ics http://mail.domain.com/zimbra/home/u...lendar?fmt=ics
Code:curl -u username:password --data-binary @/home/contact.vcf http://mail.domain.com/zimbra/home/u...ntacts?fmt=vcf
Would someone tell me how to see logs from the REST service, not just http logs.
I'm trying to use REST to import an ICS file from my Google Calendar as per:
User Migration - Zimbra :: Wiki
From the wiki I gather I can do this:
curl -v -u fultonj:$passwd --data-binary @/home/fultonj/work/zimbra/data/fultonj.ics http://zimbra.lafayette.edu/service/...lendar?fmt=ics
which returns normally and I can even see a Set-Cookie. I can also see that my request went through by looking at my logs with:
tail -f /opt/zimbra/tomcat/logs/access_log.2008-02-01
which produces:
139.147.160.232 - - [01/Feb/2008:18:29:19 -0500] "POST /service/home/fultonj/Calendar?fmt=ics HTTP/1.1" 200 - "-" "curl/7.16.4 (x86_64-pc-linux-gnu) libcurl/7.16.4 OpenSSL/0.9.8e zlib/1.2.3.3 libidn/1.0"
However, my calendar is not getting updated. I imagine that Tomcat is
getting the binary data that I'm posting since it's taking what seems
like the appropriate amount of time for a 500k ICS file. However it's
not getting processed and I'd like to know where it's failing.
There are currently 1 users browsing this thread. (0 members and 1 guests)