Computing.Net > Forums > Web Development > Forcing a Save-As box... PDF

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Forcing a Save-As box... PDF

Reply to Message Icon

Name: Infinite Recursion
Date: May 3, 2004 at 13:06:24 Pacific
OS: na
CPU/Ram: na
Comment:

I have a link to a PDF file on a website. I do not want it to be opened in the browser, due to its size. I would like to force the user to download it instead. I've looked for ways to do this, but all of the javascript code that I have seen, doesn't work. Any ideas?

I need a Javascript or PL/SQL solution, if possible.

Chris



Sponsored Link
Ads by Google

Response Number 1
Name: anonproxy
Date: May 3, 2004 at 17:49:15 Pacific
Reply:

I am only am familiar with the method(s) proposed in this document.


0

Response Number 2
Name: Khalid
Date: May 4, 2004 at 05:11:23 Pacific
Reply:

And I only know a method with PHP. Not in Perl/ JavaScript as you requested. Let me know if you havent found anything and want to try with PHP.


0

Response Number 3
Name: safeTsurfa
Date: May 4, 2004 at 09:03:55 Pacific
Reply:

Why not just upload it as a zip file and provide a link to that? If you won't let the browser with its plugin respond correctly to what it finds, I see no benefit in having the file remain in PDF format during download.



0

Response Number 4
Name: Infinite Recursion
Date: May 4, 2004 at 11:30:40 Pacific
Reply:

Thanks for all of your replies.

Anonproxy, I have seen that site before... those methods, for some reason, did not work.

Khalid, I wish I could use PHP... it make my life alot easier. ;)

safeTsurfa, I agree, but the boss prefers not to have the PDF zipped because some of our users are "clueless" and we do not want to have a "How-To" for the unzipping process or the phone calls associated with it.

I'll keep plugging away at it... Thanks guys.

Chris


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Forcing a Save-As box... PDF

PDF file to be Downloaded www.computing.net/answers/webdevel/pdf-file-to-be-downloaded/405.html

a box and a save button www.computing.net/answers/webdevel/a-box-and-a-save-button/1860.html

saving a jpeg locally www.computing.net/answers/webdevel/saving-a-jpeg-locally/1285.html