Download and sync files from a Moodle server