Resource items all download as "file"

Hi,

I’ve noticed that if I use the Resources extension together with the Links component to provide downloadable files, the files all adopt the same filename. For example, a set of different PDFs will all be downloaded as “file.pdf”.

This isn’t great on a mobile, where the phone (on Android at least) will keep asking if you want to replace the previous “file.pdf”.

It would be great if the files could just keep their original names when they were uploaded!

Steve

2 Likes

Thanks Steve,

I have raised this as a request to be looked into - as that’s not ideal.

Thanks for posting!

1 Like

Hi Davey,

I don’t use the Resources extension because of this (unless it’s for links to web pages).

Instead, I create a folder locally named ‘resources’, which I then paste into the root of my published courses.

Within the course, I create a content item using the Additional Content extension and then I create links (using the Insert Link button) to the resources like so:

./resources/YourFileName.pdf

Hopefully, this helps :slight_smile:

Cheers, Barry

2 Likes

Has there been any progress to resolve this issue? I have just set up a course and have had the same experience.

Thanks for the reminder about this one! It’s a slightly tricky one to fix as involved a change to the way Evolve stores files, which isn’t trivial by any means.

The other option would be to allow you to set the filename when you create the resource, but the problem with that is that setting the filename of a link to a file causes desktop browsers to always download the file i.e. files like PDFs that would normally be opened in the browser would no longer do so.

I’ll have a word with the Evolve backend developers to see if it’s possible to do something about the stored filename.