Results 1 to 3 of 3

Thread: import address book failure

  1. #1
    middle6 is offline Active Member
    Join Date
    Feb 2008
    Location
    guangzhou,guangdong,CHINA
    Posts
    26
    Rep Power
    7

    Default import address book failure

    I upload a csv file to /test.csv for import it to user's address book, user's passpword is ps123

    then i use cli:
    Code:
    curl -u user:ps123 @/test.csv --data-binary http://mail.server.com/service/home/user/contacts?fmt=csv
    it display:
    Code:
    curl: (6) Couldn't resolve host ''
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <title>Error 401 </title>
    </head>
    <body><h2>HTTP ERROR: 401</h2><pre>permission denied: you do not have sufficient permissions</pre>
    <p>RequestURI=/service/home/user/contacts</p><p><i><small><a href="http://jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>
    Last edited by middle6; 04-09-2008 at 09:19 AM.

  2. #2
    middle6 is offline Active Member
    Join Date
    Feb 2008
    Location
    guangzhou,guangdong,CHINA
    Posts
    26
    Rep Power
    7

    Default I find a new way to import contacts ,but new problem is

    Code:
    zmprov sm user pru /contacts /test.csv
    after use this cli, test.csv is imported to user's contacts.

    but how to import test.csv to user's new address book.like these:

    office contacts
    family contacts
    contacts
    trash

    and the last problem,how to use cli name a chinese name new address book?

    thx ur help and waiting the answer ~~

  3. #3
    p24t is offline Moderator
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

    edit: my error already has a nice (fixed) bug for it: Bug 24793 - Rest interface doesn't work for specific csv import using curl

    Other half of this: I'm also trying to import ICS files into calendars, but apparently I need the u/p of someone who has manager access. I can share the calendar to the admin, but that means sharing everyone's calendars to admin. Possible, but not ideal.

    Am I better off scp'ing everything over and using zmprov?
    Last edited by p24t; 04-11-2008 at 09:29 AM. Reason: no need for errors, there's a bug already.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 09-26-2007, 12:38 PM
  2. [SOLVED] Zimbra not syncing properly with Address Book and iCal
    By Colin Day in forum CalDAV / CardDAV / iSync
    Replies: 4
    Last Post: 07-13-2007, 08:52 AM
  3. Import Thunderbird Address Book
    By wickhamandrew in forum Migration
    Replies: 3
    Last Post: 05-24-2007, 10:13 AM
  4. Outlook Global Address book failure
    By rojs in forum Zimbra Connector for Outlook
    Replies: 2
    Last Post: 03-30-2007, 02:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •