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
Quick file link
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Quick file link
Hi, maybe the unique download link can fit your needs:
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 28 Jan 2019, 20:40
Re: Quick file link
How do I get this unique download link?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Quick file link
You can see this link in edit of a file in administration (top right).
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 28 Jan 2019, 20:40
Re: Quick file link
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?
Is this a Phoca Download bug?
-
- Phoca Member
- Posts: 14
- Joined: 28 Jan 2019, 20:40
Re: Quick file link
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".
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Quick file link
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 28 Jan 2019, 20:40
Re: Quick file link
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
1) https://imgur.com/UYQKJCz
2) https://imgur.com/dodoM06
3) https://imgur.com/8fEdd6t
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Quick file link
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 28 Jan 2019, 20:40
Re: Quick file link
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
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