2017-06-26, 23:48:49
Hi,
I am trying to install/use this plugin but have some problems with the naming of my files.
The plugin is indexing everything and tries to just use the filename to create the reference. In my case I will have a lot of files with identical names like README.txt in different subdirectories.
I tested just by putting test1.txt in two directores dir-1 and dir-2. When I create some links like below, the first line give the file from dir-1 and the second line give the file from dir-2.
The first link is "fragile", if I create another directory called dir (which comes before dir-1 and dir-2) and put another test1.txt file in there, then the first link will deliver this one...
Another problem is that all the "shortcuts" do not work if I specifiy the name together with a directory
This will work and create a download link, but this
will just be copied in the page... I have tested with different qoutes around the name, also with a slash and a backslash, can't get it to work...
Renaming all the files to have unique name is NOT an option...
Last reaction / login from the author here was around January 2015... I don't know I there will be any feedback...
I might still use the direct method (and always specify the path), but the shortcuts seems to be quite handy and I would like to use them.
I will continue looking for other solutions and are open for suggestions.
Best regards,
Andreas.
I am trying to install/use this plugin but have some problems with the naming of my files.
The plugin is indexing everything and tries to just use the filename to create the reference. In my case I will have a lot of files with identical names like README.txt in different subdirectories.
I tested just by putting test1.txt in two directores dir-1 and dir-2. When I create some links like below, the first line give the file from dir-1 and the second line give the file from dir-2.
Code:
<a href="download?f=test1.txt">download?f=test1.txt</a>
<a href="download?f=dir-2/test1.txt">download?f=dir-2/test1.txt</a>
Another problem is that all the "shortcuts" do not work if I specifiy the name together with a directory
Code:
(% dlm test1.txt button %)
Code:
(% dlm dir-2/test1.txt link %)
Renaming all the files to have unique name is NOT an option...
Last reaction / login from the author here was around January 2015... I don't know I there will be any feedback...
I might still use the direct method (and always specify the path), but the shortcuts seems to be quite handy and I would like to use them.
I will continue looking for other solutions and are open for suggestions.
Best regards,
Andreas.