immediate Download directly from url

Phoca Download - download manager
festus
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 03 Apr 2011, 16:32

immediate Download directly from url

Post by festus »

Hello,
I have searched for information on my question. May be it is there, but I could not find. So let me explain my need.
I need to provide the url to a specific file together with a userid / password for a specific user. And I want the user to be able to include this url in a php script which will automatically login and download the file.

Currently, when I try to download a file manually, following is the procedure:
a) login to Joomla 'userid' / 'password'
b) Go to phoca menu and navigate to the specific section
c) I come to the page where i see the list of files available under a section and on the right hand side of each file, there are two buttons ' Details' & 'Download'.
d) If I point my mouse the the button 'Download' I can see the exact url for the button, at the bottom left side of my window.
It is of the format: http://mydomain.com/directory/file/filename
e) If I click on the button it brings me to another download page where again there is another button to click to download.
f) The url in the browser changes to :http://mydomain.com/directory/file/filename
g) But I cannot use this url above in a php script, since I have to click on one more button 'Download' and I cannot see any specific url.

My request: is there an option to configure so that when I click on the 'Downlod' button in step d above it will immediately download the file, instead of taking me to one more page where I have to manually click on another 'Download' button ?

With some of the other download applications, I can do the above and I can use a php script to automatically login and download the file. I do like the Phoca Download Application features and I really wish I can find a way to configure Phoca to meet my download procedure need.

Appreciate some solution soon.
Best Regards,
Festus
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: immediate Download directly from url

Post by Jan »

Hi,

e) depends on if you set it in parameters, if you set the file should be downloadable directly from category view, there is no redirect to detail view (to file view) and the file can be directly downloaded.

So, yes there is such option and this option is default for Phoca Download - the file is directly downloaded in category view while clicking on download button.
If you find Phoca extensions useful, please support the project
Post Reply