• I have a largish PDF file I’d like folks to be able to download from my website.

    Can anybody tell me how to upload it and arrange it so it can be downloaded?

    Doc

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael

    (@southstationmedia)

    If you’re going to be uploading multiple PDF’s to share you’ll most likely want to use a plugin to manage the files. Something like ‘Omni Secure Files’ may work (I’ve never used it though).

    If its just one PDF you can just insert some HTML code into your page/post.

    <a href="/PATH/TO/YOUR/PDF" target="_blank">Download Link</a>
    *where ‘PATH/TO/YOUR/PDF equals something like /uploads/file.pdf – or wherever you uploaded ur PDF

    Keep in mind with the above code it will, by default, open the PDF in the browser. You’ll want to throw in a few lines of text saying “Right Click and Save As to download”.

    That’s the easiest way to do it, but if your looking for force the download when someone clicks the link you may need to play around with some PHP. This article may help but its not going to be easy if your not familiar with PHP.

    http://webdesign.about.com/od/php/ht/force_download.htm

    Hello

    I have a similar issue. I am setting up a website where the client wants to have a PDF file that can open up in a new window when the link is clicked on.

    I have no issue having the PDF open in the current window with the following:

    [<a href='http://www.kevingfitzpatrick.com/wp-content/uploads/2012/04/Resume-II.pdf'>Resume II</a>]

    Now I understand I need to put a [” target=”_blank”] in here somewhere, but I don’t know where. So far, each time I try it does nothing or messes with the screen.

    Thanks

    @kevinlasminas@gmail.com: It is impolite and contrary to forum policy to interrupt another poster’s ongoing thread with a question of your own. Please post your own topic.

    Thread Starter DogDoc

    (@dogdoc)

    Thanks gents.

    I’ve managed to upload the file. It’s about 50MB so I really don’t want to have to have it load on the page. Can someone give me the snippet of code I should poke into word press to create a button that says “Download” that folks can push to download the file?

    The website it homegrownherbalist.net the pdf is stored at homegrownherbalist.net/You can be an herbalist.pdf

    Thread Starter DogDoc

    (@dogdoc)

    Doh! Nevermind. I was typing the code into the “Visual” section instead of the “HTML” section…much better now.

    Thanks again all.

    Doc

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘uploading/downloading a PDF’ is closed to new replies.