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
#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[/google]

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


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 ,530 11-17-2015, 01:19 AM
Last Post: Shaggy

Forum Jump:


Users browsing this thread: 1 Guest(s)