Topic on Project:Support desk

Problem with local file link

1
193.178.246.121 (talkcontribs)

Hi, I've a problem with local file link.

I've installed MediaWiki on my PC with XAMPP.

I have some file stored on a shared NAS server ("\\server_example\file.xls").

I created a link that can point to this NAS server and I read about all the referred browser problems for accessing file system.

But I want that when I click on the link, the site don't try to open the file on the browser but it must download the file.

I tried to create the link in HTML with <a href=""></a> in a simple test blank page on my PC:

<html><a href="\\server_example\file.xls">TEST</a></html>

And the browser automatically donwload the file, and so why in MediaWiki this method don't do nothing?

Thanks.

Reply to "Problem with local file link"