Linking directly to files in the repository

Linking directly to files in the repository

by Brayton Maine -
Number of replies: 1
My question:

Is it possible to link directly to files in a repository?

I've noticed that links change every time I view the HTML in my quizzes (using description) after I've picked the file using the "file picker".

So for example,



Is there a permanent way to link to these files? I'm trying to link to some video files in a quiz and I keep getting unsupported mime type messages. I think the links I'm am using are incorrect as I know that the mime types I am using are supported.
Average of ratings: -
In reply to Brayton Maine

Re: Linking directly to files in the repository

by Brayton Maine -
Probably should have double checked that it wouldn't mess up. *sigh*

Sorry about that.

I was trying to post examples of the links I was trying to link.

moodle/draftfile.php/16/user/draft/148573491/Video1.mp4

moodle/draftfile.php/16/user/draft/856505170/Video1.mp4

Also I forgot to mention what version of moodle I'm using. 2.2