Download wrong file if the requested one is not online
Posted: 04 Sep 2020, 16:54
Hello,
I just installed Phoca download, because I need a tool to allow downloading a file from a special date and time on.
I do not show the download page, but inserting the download link into a text.
During my testing I had the following problem. I entered two files one has start date 1.9.2020 the other one 19.9.2020.
The downloadlinks look like this.
domain/index.php/anmeldeformulare?download=1:testdownload-1
domain/index.php/anmeldeformulare?download=1:testdownload-2
If both files are online it works great, but if one file is not online jet, the page is not redirected to the login, instead the first available file is downloaded.
Is there something wrong in my thinking, or is it a bug.
Is there a possibility to redirect to a special page instead of the login-site? I would like to redirect to a page with the content "The file is not available jet"
Thanks a lot for your feedback
Tamtam
I just installed Phoca download, because I need a tool to allow downloading a file from a special date and time on.
I do not show the download page, but inserting the download link into a text.
During my testing I had the following problem. I entered two files one has start date 1.9.2020 the other one 19.9.2020.
The downloadlinks look like this.
domain/index.php/anmeldeformulare?download=1:testdownload-1
domain/index.php/anmeldeformulare?download=1:testdownload-2
If both files are online it works great, but if one file is not online jet, the page is not redirected to the login, instead the first available file is downloaded.
Is there something wrong in my thinking, or is it a bug.
Is there a possibility to redirect to a special page instead of the login-site? I would like to redirect to a page with the content "The file is not available jet"
Thanks a lot for your feedback
Tamtam
