Downloading files from my site
I want visitors to be able to download a 400-500k pdf file that I will host rather than the original site the file is on.
Like a file download you click download and a windows save as dialogue box come up
http://www.forecastingsolutions.com/
detox posted this at 14:52 — 20th August 2001.
They have: 571 posts
Joined: Feb 2001
3 ways of doing this:
1) zip the file so the user is forced to use the dialog box
2) add this code to your ASP page:
<?php
Response.AddHeader \"content-disposition\",\"attachment; filename=fname.ext\"
?>
3) get a download component like ASP Upload.
Keegan posted this at 14:50 — 2nd September 2001.
They have: 300 posts
Joined: Aug 2001
I might be up for a long time but I think the question was a bit simpler detox, maybe I need to go into detox but I will give it a shot.
Steve_69, am I tired, or do you not realize that you can save the original pdf file, then upload it to your own server? If so that is what you need to do, and then zip it like detox said so Acrobat does not open on their machine, I would rather that happen myself, but maybe I am just smoking some really bad gutter crack.
Gutter crack (Spilled Dr Pepper)
K
MBSHost.com
SigHost Project
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.