php - is there a way to know if the link to a file is force downloaded? -


The title completely explains my question: Do I have a link to the PDF file, can I know that this force The download link is using php, c ++, linux wget command etc. (anything I can use on the server) (no Java)

HTTP , it is impossible to fully understand whether using the method to download the file Interpretation is unless the requester not voluntarily recognize a user-agent string or manually through a few things.

If you use the web-server language, then you can protect the file behind an authentication mechanism.


Comments

Popular posts from this blog

c# - Highlight all words containing a letter in a richtextbox -

Admob interstitials not clickable on Nexus 5 (Android 4.4.2) -

java - MigLayout - selective component fill -