This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How can I configure so the browser will download a file, not view it.
#1
How can I configure so the browser will download a file, not view it.
Hi,

Is there anyway I can configure Sentora so when viewing say uploaded files (txt/png e.t.c) it will download them and not view them in the browser? I obviously don't want it to download things like HTML and PHP files as that's how users view the actual site.

Any Ideas?

Thanks.
Reply
Thanks given by:
#2
RE: How can I configure so the browser will download a file, not view it.
This has nothing to do with Sentora. This is done by HTML encoding in your site: https://www.w3schools.com/tags/att_a_download.asp
More resources: Google: html download text or image files

Smile
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Wordpress Download failed. error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert ha Shaggy 0 5 ,028 11-17-2015, 01:19 AM
Last Post: Shaggy

Forum Jump:


Users browsing this thread: 1 Guest(s)