Problem with downloading files from Folder resource

Problem with downloading files from Folder resource

by Iglika Raykova -
Number of replies: 1

Hey everyone,

I have the following problem:

I'm using Moodle Mobile 2 version of the app. I've put some files in a Folder resource. Previously it was working fine but lately I noticed that files are not downloaded. When I start to download a file the Icon is changed, the real size of the file is shown but no notification or something shows me that the file is downloaded and no request if I what to open it appears.

I saw that the file in fact is downloaded into app filepool directory but not into Downloads directory as it was previously. Is there any change in Moodle API that reflects to this download? And can I fix it in some way because I want to keep using this version of Moodle app.

Thanks,

Iglika

Average of ratings: -
In reply to Iglika Raykova

Re: Problem with downloading files from Folder resource

by Iglika Raykova -
Hi again,
I'm digging into the problem and found out that may be the problem is with window.open(fileurl, '_system'). The file is downloaded into app directory but when it must be displayed the file can not be opened. Also there is no indicator that the file is downloaded.
Does anybody know if there is a way to make it to work again?

Many thanks,
Iglika