수업자료 다운로드
download_course_materialDownloads LMS course materials to your computer's Downloads folder and returns the saved file path. Provide a module ID or file URL to fetch the file.
Instructions
수업자료 파일을 내 PC 의 다운로드 폴더(기본 ~/Downloads/jbnu-lms/<강좌명>/)에 저장하고 경로를 알려 줍니다. cm_id(모듈) 또는 file_url(pluginfile 링크) 중 하나가 필요합니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cm_id | No | 모듈 ID | |
| file_url | No | 파일 URL (lms.jbnu.ac.kr 의 pluginfile.php 링크) | |
| course_id | No | 강좌 ID (폴더 이름과 모듈 종류 판별에 사용) | |
| target_dir | No | 저장 하위 폴더 (기본 다운로드 폴더 하위로만 허용, 폴더 밖 경로는 거부) |