External Application File Download

External Application File Download

de Amy Stewart -
Número de respuestas: 1

I am building a plugin that will allow our course creators to upload course data for students to use in an external lab.  I have an external, protected application that will set up the lab for the user, however, I need that application to download the data from Moodle.  Is there a way to log that application in and log it out in order to perform the file download?

Thanks!

Promedio de valoraciones: -
En respuesta a Amy Stewart

Re: External Application File Download

de Sam Chaffee -
Foto de Core developers

Sounds like it may be a good case for using Moodle's web services. I believe there is a core web service that can be used to search for files and it returns download URLs as part of the response. If the core service wouldn't work for your application creating a custom one might.