Page 1 of 2
Quick file link
Posted: 06 Feb 2019, 10:47
by fmeneuhe
Hi,
I would like to suggest next request:
In the admin Control Panel, in the File section, would be very useful to copy a direct link to the file, so I can make my own links in HTML by example, to directly download the file.
Thanks
Re: Quick file link
Posted: 06 Feb 2019, 18:02
by Jan
Hi, maybe the unique download link can fit your needs:
Jan
Re: Quick file link
Posted: 12 Feb 2019, 12:57
by fmeneuhe
How do I get this unique download link?
Re: Quick file link
Posted: 12 Feb 2019, 20:32
by Jan
You can see this link in edit of a file in administration (top right).
Jan
Re: Quick file link
Posted: 12 Feb 2019, 23:54
by fmeneuhe
Ok I found it. I generated the token. I found the unique download link, but when I copy the link and paste on the browser I get an "404 Page Not Found".
Is this a Phoca Download bug?
Re: Quick file link
Posted: 13 Feb 2019, 00:15
by fmeneuhe
I guess there is a bug, in the Unique Download Link generated, there are two slashes "//" like this "...//index.php...", if I remove one slash the download file page is shown, but when I click on the "Download" button I get and "Invalid token".
Re: Quick file link
Posted: 13 Feb 2019, 09:42
by Jan
Hi, the link should be created by your SEF settings, I will take a look at it. But there is no token to check whe you link to a file :idea. So, try to clear your browser cache and try to copy the link again (without the //). Do you still get the token problem? Can you paste a screenshot?
Jan
Re: Quick file link
Posted: 13 Feb 2019, 10:32
by fmeneuhe
I cleared the cache, I removed the extra slash "/" and here you have the screenshots of the process (still an invalid token):
1)
https://imgur.com/UYQKJCz
2)
https://imgur.com/dodoM06
3)
https://imgur.com/8fEdd6t
Re: Quick file link
Posted: 13 Feb 2019, 11:32
by Jan
Hmmm, what if you disable SEF on your site (for test only), copy the URL without SEF format, do you get the same problem then?
Jan
Re: Quick file link
Posted: 13 Feb 2019, 11:41
by fmeneuhe
I disabled SEF, the direct download link URL now changed to:
http://XXXXXXX//index.php?option=com_ph ... Itemid=743
Still with double slash. I removed the extra slash, and exactly the same problem as SEF enabled, nothing changed. I am using Joomla 3.9.3