Page 1 of 1

Request solve the problem in the settings file path download

Posted: 15 Aug 2016, 14:16
by hosseinfarahani
In the Component settings in the General settings area phoca download and ecstasy that specifies the path to the download folder. In this section there are three sections, one of which is an absolute folder path and it is possible to download the specified outside of the public_html folder.
I installed on the server hosting the Web site and download the files for download that is located on another server
How can I download files to the download directory on the server component that guidance?
I am a friend Please guide me

Re: Request solve the problem in the settings file path download

Posted: 17 Aug 2016, 11:52
by Jan
Hi, if you have files which are stored on another server, you need to link them directly (external URL in file edit). This has no influence on path.

Jan

Re: Request solve the problem in the settings file path download

Posted: 18 Aug 2016, 20:39
by hosseinfarahani
In this case, as a direct download link will be displayed. I do not want to link users directly access files. What solution do you recommend?
I am thankful with your guidance

Re: Request solve the problem in the settings file path download

Posted: 19 Aug 2016, 00:13
by Jan
Hi, yes, when linking to another server the link is visible. Unfortunately I cannot imagine any sensible way to use external server and to have not public link to it. E.g. somehow download the file from the external server to your server (e.g. with help of cURL), prepare it and download it from your server - which of course does not make any sense as in such case, better way is just to host the file on your server directly.

The common problem is, if you want to manage the file (access rights, etc.) on your server, it must be stored on your server, you cannot manage files on your server which are stored on another server :idea:

Jan