Results 1 to 8 of 8

Thread: Contact Import 5.0.2

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    50
    Rep Power
    7

    Default Contact Import 5.0.2

    Has the import for 5.0.2 changed from:
    curl -u schemers: password --data-binary @/tmp/new.csv http://server/service/home/schemers/contacts?fmt=csv

    I get:

    <body><h2>HTTP ERROR: 400</h2><pre>could not parse csv file</pre>

  2. #2
    Join Date
    Dec 2007
    Posts
    50
    Rep Power
    7

  3. #3
    Join Date
    Dec 2007
    Posts
    50
    Rep Power
    7

    Default

    Anybody out there can shed some light on this work around?

    "the workaround before 5.0.3 is to upload the csv file FileUploadServlet, then use the SOAP call
    ImportContactsRequest with the upload-id returned from FileUploadServlet."

  4. #4
    Join Date
    Sep 2006
    Location
    Illinois
    Posts
    374
    Rep Power
    9

    Default

    dr...

    We voted on and put in a support ticket for that bug since we are preparing to migrate about 10000 students to our servers. We came up with a different workaround using 'zmmailbox cct' (see zmmailbox help contact) before they published that SOAP workaround.

    I don't know enough about SOAP to know anything about that method, but what we figured out seems to work. If you want some help figuring out the 'zmmailbox cct' method, PM me and I'll get you my contact info.

    Matt

  5. #5
    Join Date
    Mar 2008
    Posts
    3
    Rep Power
    7

    Default Workaround working?

    Hi,

    Has anybody been able to get the work around working? I'm able to auth, get an auth token but when I submit it via the CURL command, it gives back a

    401,null response. No attachment id like it says in the work around.

    I'm on 5.0.2

  6. #6
    Join Date
    Dec 2007
    Posts
    50
    Rep Power
    7

    Default

    benwong,

    I'm working on a perl script as a work around until 5.0.3 is out. When I'm done with it, I will be more then happy to share. I wouldn't use it for a huge number of accounts to convert. I'm using SSH along with Chewie71's suggestion of 'zmmailbox cct'.

    I ran a test with Zimbra 5.0.1 on a single 1U Dell 1950 with about 30 accounts. Our student's loved it. I now have a production multi-server (Suse Enterprise 10.1) environment that I need to bring those test users over to. The catch is that for this script to work you will have to know the user's password. We run Novell eDirectory with Univerisal Passwords turned on. My co-worker was put togther some tools to lookup passwords

    Cool Solutions: Universal Password Retrieval Utility

Similar Threads

  1. Replies: 12
    Last Post: 06-13-2013, 08:55 AM
  2. ical4j.data.ParserException
    By amit_saini54 in forum Migration
    Replies: 0
    Last Post: 12-06-2007, 06:45 AM
  3. Replies: 1
    Last Post: 07-27-2007, 12:19 PM
  4. Can't import contact data to OTHER: Web Page?
    By gihrig in forum Administrators
    Replies: 0
    Last Post: 10-11-2006, 02:45 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
  •