Loading...
 
Features / Usability

Features / Usability


What is proper CSV file format for uploading users?

posts: 31 United States

Platform Debian Sarge, Tikiwiki 1.9.2

The mouseover says the format is
user, password, email, groups

These strings are failing:
maa, mypassfoo, mymail at bluestrain.net, MarsDiv1

"maa", "mypassfoo", "mymail@bluestrain.net","MarsDiv1"

'maa','mypassfoo','mymail@bluestrain.net','MarsDiv1'

According to my CSV documentation, these should be valid. What is the valid string format?

Dave

posts: 1092

Do you have a first line that contains
user,password,email,groups
This line is mandatory
After this line, I think (at least for your 2 first examples) must go through
sylvie

posts: 31 United States

> Do you have a first line that contains
> user,password,email,groups
> This line is mandatory
> After this line, I think (at least for your 2 first examples) must go through
> sylvie
>
Thank you sylvie. smile It works very well. Just one note for whoever stumbles across this. In 1.9.2, the header line will always show in the results as "rejected". For example,
if I bulk load my file foo.txt:

login, password, email, groups
foo1, foopass, foo at bluestrain.net, masterfoo
bar1, barpass, bar at bluestrain.net, novicefoo

The bulk loader will show 2 records loaded sucessfully, 1 rejected.

Dave