AnsweredAssumed Answered

How do I download course materials using curl?

Question asked by Naomi Peters on Aug 1, 2017
Latest reply on Sep 26, 2017 by

I'm a student and would like to download some course materials using command line interface and have to have the original file structure preserved.


I think the command should be something like:


curl 'https://<canvas>/api/v1/courses/<sis_course_id>' \
-H 'Authorization: Bearer <token>'
-O 'foldername' --create-dirs


But this doesn't work.