PDA

View Full Version : How to Include a PDF that Downloads



simplydynamic
07-12-2008, 07:50 AM
I have a site where I am selling an EBook. I have placed my PayPal BUY NOW button on my page, and I need to know how to attach a PDF file to my website so that after they pay for the EBook, they will be able to download it immediately. Can someone please tell me how to do this? Thanks!

CarbonTerry
07-12-2008, 08:58 PM
Upload/FTP (http://www.vodahost.com/vodatalk/saving-naming-previewing-publishing/9366-how-use-blueftp.html) your file to your server folder. This can just be the public_html folder if you like.
The URL would be http://www.yourdomain.com/nameoffile.pdf
or if you have it in a folder inside the public_html directory the URL would be http://www.yourdomain.com/foldername/nomeoffile.pdf
Make sure that you use the encyrpted PayPal button and that you inform buyers that this is a PDF file as the are many ebook formats.

judavvforum
07-13-2008, 01:05 AM
Terry,
Wouldn't simplydynamic have to make his/her PayPal button "success url", the url of their download file?

CarbonTerry
07-13-2008, 03:52 AM
You are correct. I couldn't see the forest for the trees !!!
You have the option of encrypting the URL. Otherwise you can view the html of the "Buy Now" button for the "Success Page" and steal the download for free.
View my html (http://www.redhawk-archery.com/tips.html) for a paid download.

judavvforum
07-13-2008, 05:21 AM
Thanks, Terry....that's a good point!

simplydynamic
07-13-2008, 09:33 PM
I created a second page for my website to just include the download button, which I can use for my success page off of my PayPal button. But how do I attach the actual PDF file to link to that download button?

Vasili
07-13-2008, 09:37 PM
It is clearly described in the Tutorial (http://www.vodahost.com/vodatalk/hyperlinking-making-all-come-together/9315-linking-your-pages-together-creating-hyperlinks-text-images-etc.html) how to hyperlink pages, images (buttons), and other objects ........

Right-click on your button (image). Add the URL of your previously uploaded PDF file (www yourdomain.com/whatereverfile.pdf ). Done.