Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

HideElements
metastrue
commentstrue
breadcrumbtrue
childpagestrue
watchtrue
sharetrue
favoritetrue
likestrue

This page describes the import of ICal calendar files into Kopano via thekopano-ical gateway.

Info
Ical will handle all timestamps in the .ics as GMT. Remember this if your appointments dont start at the correct time.

 

For the import of the ICal ics files we will use curl. The curl package will be installable on most linux distributions via the default repositories.On Centos/Redhat:
Code Block
$ yum install curl
On Ubuntu/Debian:

 

Code Block
$ apt-get install curl

 

 
With curl you are able to import ICal ics files into Kopano Core. Before you do this, you need to make sure that the kopano-ical service is started:

 

Code Block
$ /etc/init.d/kopano-ical status

 

The kopano-ical service runs on port 8080 by default. You can change these settings in /etc/kopano/ical.cfg. In this document we will use the default settings.

Now you can import ics files to the users default calendar using curl:

 

Code Block
# curl -u [username]:[password] -T [path to ics file] http://[kopano-ical-server]:8080/ical/[username]

 

You can also import to users default calendar using a kopano-admin user:

 

Code Block
# curl -u [kopano-admin user]:[password] -T [path to ics file] http://[kopano-ical-server]:8080/ical/[username]

 

If you want to import calendars to different calendars then the default calendar, use:

 

Code Block
# curl -u [username]:[password] -T [path to ics file] http://[kopano-ical-server]:8080/ical/[username]/[calendar name]/

 

Or if you want to import to a subfolder of a yet existing calendar (in the next example we import to a subfolder of a calendar named "Calendar"):

Code Block
# curl -u [username]:[password] -T [path to ics file] http://[kopano-ical-server]:8080/ical/[username]/Calendar/[calendar name]