After a few teething problems the site is up and running, complete blank shell (setup LDAP Auth).
I come from a Blackboard/Canvas/Classroom background and i use curl commands via a batch file to import csv into the systems (user, courses and enrolments), these all work great, i export the data from sis and the automation process works well into the systems.
After a look around, i am struggling to find a similar process i can do with Moodle, hope i am missing the obvious but i want a windows process that will run csv's into Moodle (student.csv, staff.csv, course.csv and enrolment.csv). I can build the file structure from sis but it is the running in part i am not seeing.
I did look at 'admin\tool\uploadcourse\cli\uploadcourse.php' with the parameters '--mode=createnew --updatemode=dataonly -file ./addcourses.csv --delimiter=comma' and running this via a batch file but all this did was:
Moodle course uploader running ...
Invalid mode selected
Execute Course Upload.
With a set of options.
Can anyone give me some pointers please or another well trodden path based on my installation?
Thank you in advance.