Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-2008, 09:44 AM
Intermediate Member
 
Posts: 23
Default Could not parse csv file

I'm trying to import my contacts from Zimbra 4.5.9 to 5.0.2. I followed the mirgration guide and used wget to read the contacts from 4.5 into a csv file. But when I use curl to try to import the csv file, I get the following error:
HTTP ERROR: 400
could not parse csv file

Here are the wget and curl commands I used:
Code:
wget https://$user:$pass@$SRC/zimbra/user/$user/contacts.csv --no-check-certificate
curl -u "$user:$pass" --data-binary \@contacts.csv http://$DEST/service/home/$user/contacts?fmt=csv --insecure
And here are the first couple of lines of the csv file:
Code:
"assistantPhone","birthday","callbackPhone","carPhone","company","companyPhone","description","department","dlist","email","email2","email3","fileAs","firstName","fullName","homeCity","homeCountry","homeFax","homePhone","homePhone2","homePostalCode","homeState","homeStreet","homeURL","initials","jobTitle","lastName","middleName","mobilePhone","namePrefix","nameSuffix","nickname","notes","office","otherCity","otherCountry","otherFax","otherPhone","otherPostalCode","otherState","otherStreet","otherURL","pager","workCity","workCountry","workFax","workPhone","workPhone2","workPostalCode","workState","workStreet","workURL","type"
"","","","","","","","","","name@somedomain.com","","","","Phil","Phil Smith","","","","","","","","","","","","Smith","","","","","","","","","","","","","","","","","","","","","","","","","",""
Am I doing something wrong?

Jim
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 04:48 AM
Trained Alumni
 
Posts: 127
Default

I think it's a bug.

I created a contact on zcs 5.0.2 exported it but I'm unable to reimport using rest, it works
from web interface.
__________________
http://www.seacom.it
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 05:33 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
Default

Please file an entry in bugzilla.
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 06:19 AM
Trained Alumni
 
Posts: 127
Default

Done
Bug 24793 - Rest interface doesn't work
__________________
http://www.seacom.it
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.