![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
GlacierI'm trying to download a pdf file using the a href tag: <a href="../documents/test.pdf"> but instead of downloading it just opens up in adobe reader. Is there a way to cause a download? Thanks - Rick |
#3
| |||
| |||
|
|
GlacierI'm trying to download a pdf file using the a href tag: <a href="../documents/test.pdf"> but instead of downloading it just opens up in adobe reader. Is there a way to cause a download? Thanks - Rick |
#4
| |||
| |||
|
|
On Mar 26, 5:46 pm, "news.surewest.net" <rbw95... (AT) gmail (DOT) com> wrote: GlacierI'm trying to download a pdf file using the a href tag: <a href="../documents/test.pdf"> but instead of downloading it just opens up in adobe reader. Is there a way to cause a download? Thanks - Rick Yes, you can force it to download with the Flash and the FileReference object. and some server side code. |
#5
| |||
| |||
|
|
On Mar 26, 5:46 pm, "news.surewest.net" <rbw95... (AT) gmail (DOT) com> wrote: GlacierI'm trying to download a pdf file using the a href tag: <a href="../documents/test.pdf"> but instead of downloading it just opens up in adobe reader. Is there a way to cause a download? Thanks - Rick Yes, you can force it to download with the Flash and the FileReference object. and some server side code. |
#6
| |||
| |||
|
|
Travis Newbury wrote: On Mar 26, 5:46 pm, "news.surewest.net" <rbw95... (AT) gmail (DOT) com> wrote: GlacierI'm trying to download a pdf file using the a href tag: <a href="../documents/test.pdf"> but instead of downloading it just opens up in adobe reader. Is there a way to cause a download? Thanks - Rick Yes, you can force it to download with the Flash and the FileReference object. and some server side code. Whether the user wants to download it or not! That'll show your users whose boss! |
#7
| |||
| |||
|
|
Yes, you can force it to download with the Flash and the FileReference object. and some server side code. If you're going through all that trouble just set the the content disposition to attachment in the header via server-side (of your choice) and no client plugins required. |
#8
| |||
| |||
|
|
GlacierI'm trying to download a pdf file using the a href tag: <a href="../documents/test.pdf"> but instead of downloading it just opens up in adobe reader. Is there a way to cause a download? Thanks - Rick |
#9
| |||
| |||
|
|
Yes, you can force it to download with the Flash and the FileReference object. and some server side code. |
![]() |
| Thread Tools | |
| Display Modes | |
| |