Skip to main content

Uploading Files to a Course Through the Command Line Run from Outside the Moodle e-Learning Platform

  • Conference paper
  • First Online:
Learning in the Age of Digital and Green Transition (ICL 2022)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 634))

Included in the following conference series:

  • 547 Accesses

Abstract

This paper describes the development of a new Moodle plugin for uploading course files to the Moodle e-learning platform using command lines. The files will be uploaded to the course sections, which must then be available for viewing and downloading. The proposed goal is to develop a command line utility that will have three arguments: comma-separated course ids, the username of the person who will perform this operation, and the absolute location of the folder where the files needed to upload to desired courses. The utility will add all available files in that folder to past courses as an argument. The created Moodle plugin will be configured from the site administration according to the standard plugin installation procedure and the command lines will be executed from the command prompt. Simplify the process of transmitting files to the platform by using a computer level command. It eliminates the steps that were previously taken to authenticate and authorize access to the document transmission functionality. While actual Moodle platform spends up to 470 s for uploading of 5 files of 20 MB, our proposed method offers a time spending of only 5 s for these files.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Abuhassna, H., et al.: Guidelines for designing distance learning courses via moodle to enhance students satisfaction and achievements. Int. J. Inform. Educ. Technol. 11(12), 574–582 (2021)

    Google Scholar 

  2. Putri, S.E., et al.: Discourse analysis in e-learning-based course using Moodle platform: an experimental design. REiLA: J. Res. Innov. Lang. 2(1), 19–26 (2020)

    Google Scholar 

  3. Silva, A.J.C., Costa, H.A.X., Cardoso, P.C.F., Júnior, P.A.P., Inocêncio, A.C.G.: A plugin for analysis the usage of virtual courses in the moodle platform. In: 2021 XLVII Latin American Computing Conference (CLEI), pp. 1–5 (2021). https://doi.org/10.1109/CLEI53233.2021.9640176

  4. Moodle Homepage. https://docs.moodle.org/dev/CLI_scripts#Location. Accessed 29 Apr 2022

  5. Olofsson, R., Hultstrand, S.: Git - CLI or GUI. Comput. Sci. 08, 1–55 (2015)

    Google Scholar 

  6. Singer, A.B.: The command line interface. In: Practical C++ Design. Apress, Berkeley (2022). https://doi.org/10.1007/978-1-4842-7407-1_5

  7. Ismatovna, A.Y.: Using the moodle platform for organizing training in education. Online-Conferences. Platform (2021)

    Google Scholar 

  8. Andrews, W.W.: Comparative Analysis of Interface Usability for Cybersecurity Applications. Diss. North Dakota State University (2021)

    Google Scholar 

  9. Banes, V., Ravariu, C.: Authentication methods with a high degree of security in accessing moodle e-learning platform. In: Auer, M.E., Tsiatsos, T. (eds.) IMCL 2021. LNNS, vol. 411, pp. 951–961. Springer, Cham (2022). https://doi.org/10.1007/978-3-030-96296-8_86

    Chapter  Google Scholar 

  10. Seren, B., Rafia, K.H.M.: Usability evaluation of open source learning management systems. Int. J. Adv. Comput. Sci. Appl. (IJACSA) 11(6) (2020). http://dx.doi.org/10.14569/IJACSA.2020.0110652

  11. Vermeir, N.: Command Line Interface. Introducing. NET 6, pp. 31–64. Apress, Berkeley (2022)

    Google Scholar 

  12. Chandrasekara, C., Herath, P.: REST API, Command Line, and Extension Development. Hands-on Azure Pipelines, pp. 179–192. Apress, Berkeley (2020)

    Google Scholar 

  13. Ukhov, P.A., et al.: Customization of open-source solutions on the example of the LMS Moodle distance learning platform. J. Phys. Conf. Ser. 1889(2). IOP Publishing (2021)

    Google Scholar 

  14. Chang, Y.-C., Li, J.-W., Huang, D.-Y.: A personalized learning service compatible with moodle e-learning management system. Appl. Sci. 12(7), 3562 (2022)

    Article  Google Scholar 

  15. Simanullang, N.H.S., Rajagukguk, J.: Learning Management System (LMS) based on moodle to improve students learning activity. J. Phys. Conf. Ser. 1462(1). IOP Publishing (2020)

    Google Scholar 

  16. Leka, L., Kika, A.: Implementation of Moodle plugins to support student’s learning styles. J. Multidiscipl. Eng. Sci. Stud. (JMESS) 3669–3672 (2021)

    Google Scholar 

  17. Manzanares, S., Consuelo, M., Marticorena, R.S., Osorio, C.I.G.: Monitoring students at the university: design and application of a moodle plugin. Appl. Sci. 10(10), 3469 (2020)

    Article  Google Scholar 

Download references

Acknowledgement

The article is financed by the Polytechnic University of Bucharest, through the project "PubArt" in online system, registered at the Ministry of Education from Romania.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vasile Baneș .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Baneș, V., Ravariu, C. (2023). Uploading Files to a Course Through the Command Line Run from Outside the Moodle e-Learning Platform. In: Auer, M.E., Pachatz, W., Rüütmann, T. (eds) Learning in the Age of Digital and Green Transition. ICL 2022. Lecture Notes in Networks and Systems, vol 634. Springer, Cham. https://doi.org/10.1007/978-3-031-26190-9_101

Download citation

Publish with us

Policies and ethics