1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to start a download directly after page load???

Discussion in 'General Scripting Chat' started by iridelongboards, Oct 2, 2015.

  1. iridelongboards

    iridelongboards Registered Member

    Joined:
    May 2, 2012
    Messages:
    87
    Likes Received:
    25
    Occupation:
    Sales
    Location:
    Denton, Texas
    Home Page:
    Just as the title says, I'm looking for a way to make a download for a pdf document after the page loads automatically.

    If it matter the website have wordpress on it if there is already a plugin that does that. Thank you for your help and expertise!
     
  2. KennChi

    KennChi Regular Member

    Joined:
    Jun 6, 2011
    Messages:
    307
    Likes Received:
    122
    Occupation:
    student. :p
    Location:
    124.6.181.187
    Just upload it directly to your site. yoursite.com/filename.pdf, once someone visit that he/she will automatically download your file.