| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
now with added beard
Join Date: Mar 2004
Location: Liverpool
Posts: 5,549
|
application/force-download
i want a pdf link (from an email) to force a file download box - rather than auto opening it up in a browser window ... the site runs in jsp ... (not sure if php is installed on the server) anyone got any tips ?? fuck signatures
|
|
|
|
|
|
#3 (permalink) |
|
Spare Parts
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,092
|
Force download That works in my browser. Is the fact you want to do it from email that is the issue. (Thanks, that is a useful thing learned anyway.) |
|
|
|
#4 (permalink) |
|
now with added beard
Join Date: Mar 2004
Location: Liverpool
Posts: 5,549
|
yeah ... of course !! i'm sure the answers are all in there ... looks like some header info on the jsp page is needed ... just thought i'd throw it open here too ... fuck signatures
|
|
|
|
#5 (permalink) | |
|
now with added beard
Join Date: Mar 2004
Location: Liverpool
Posts: 5,549
|
Quote:
yeah that works - but how does it work ?? server side stuff ?? fuck signatures
|
|
|
|
|
#8 (permalink) |
|
now with added beard
Join Date: Mar 2004
Location: Liverpool
Posts: 5,549
|
ta la ... yeah - i thought it was all to do with that .... so, in order to track the volume of pdf downloads, i need to link to the .jsp file which has the header info in it ... prompting the download box ... the number of pageloads = the number of downloads (or thereabouts) cool. ta fuck signatures
|
|
|
|
#10 (permalink) |
|
Everything is fine.
|
You may need to write yourself a small download script that counts downloads per PDF as well as sending the correct headers on to initiate the force download. Simply linking to the file itself will display it in-line, as you know. If you need help give us a yell and I'll do what I can for you - Mike |
|
|
|
#11 (permalink) |
|
now with added beard
Join Date: Mar 2004
Location: Liverpool
Posts: 5,549
|
ah cheers mike ... this one's for my 'proper job' where i'm surrounded by java developers - so i'm sure we can sort it out ourselves ... but thanks for the offer. fuck signatures
|
|
![]() |