Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Upload a PDF to be viewed in browser

Discussion in 'General Discussion' started by getdryvit, Aug 13, 2015.

  1. getdryvit

    getdryvit Registered

    Joined:
    Aug 13, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Woodbridge, ON
    cPanel Access Level:
    Root Administrator
    Hi all! I will start by saying I am new to this forum and I am also new to being the admin of a company site! most everything was set up for me when I got this position, and I haven't had any issues until today.

    I am trying to upload a PDF into the file manager. I want this to be a public file, that anyone with the link can access, and I am not planning to actually display this file on the website.

    So far I have created a new folder, "bulletins" within the "public_html" folder to hold the file. Then I uploaded it with a title similar to "xxx_xxxxx.pdf". My problem begins here. I can easily navigate to "www.sitename.com/bulletins/xxx_xxxxx.pdf" but instead of displaying the pdf, it begins the download automatically.

    How do I make this file show in the browser instead?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice