Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Flat file.

Flat file

From MoodleDocs
Revision as of 17:08, 26 July 2007 by Helen Foster (talk | contribs) (file location info and course ID number correction (thanks to Iñaki))

Location: Administration > Courses > Enrolments


Like the upload users tool, this method checks for an enrolment file at the specified location. You can put the file anywhere you want (as long as Moodle can find it), but if you don't specify a location, Moodle will look for the file at .../moodledata/1/enrolments.txt. If it finds a new file, it will process the data.

The file should be structured with the action, role, student number and course ID number.

The flat file settings page includes information on flat file formatting.

See also