How store set of pdf files that viewers may download from my website.

Category: Cpanel

remwpgca
Asked:
2013-05-23 1:20 pm EST

Hits: 813
I've just started building a Word Press website. I have a set of about 20 or so pdf newsletter files, each about 400-1000 kb. On my old site, I jsut uploaded these to a file section and had a document download table.
So how do I do something like that in inmotion hosting? I think I'm able to upload the files somewhere and then link from my WP site, but don't know how.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

So, I figured out how to upload the .pdf files from my computer to c-panel. I put them in a subfolder that I made in my public_ftp folder. I then went into Word Press, went to the page where I want the link, and tried to create a link to the file in my c-panel public_ftp folder. I obviously don't have the correct link.

Please help.
remwpgca
11 Points
2013-05-23 02:51 pm EST

OTHER ANSWERS

0

Arn
Staff
17,325 Points
2013-05-23 3:09 pm EST
Hello Remwpgca,

I'm sorry to hear that you're having problems with placing the newsletter files on the server. The best way to handle this is to simply use the WordPress structure, or create a brand-new folder under the public_html folder for your PDF files. It would probably be easier for you to create a separate folder under the public_html folder. The PUBLIC_FTP folder is used for reporting and not for customer use.

You can use the file manager in the cPanel to create the new folder and even upload the files. Just remember that the folder that you create should go under the public_html folder. The path that you will specify for the pdf file will look like something like this (note: I named my folder 'pdf'):

http ://domain_name/pdf/pdf-file-name.pdf

I hope this clears up the confusion. Let us know if you require any further assistance!

Arnel C.

You must login before you can post a comment about this answer.

Basically a good answer, but I have a complication. I can't use my regular domain name yet because it points to an existing site while I'm building this one. So I have a temporary URL. Eventually, I figured out that I had to use that temporary URL in creating the link. Once I did that, the pdf loaded fine. But, what happens when I activate this new site? Will this link change automatically or do I need to manually change every link that I will have created to my files?

Also, I created the new folder in c-panel and moved the files just fine. But I CANNOT see how to eliminate the folder in the PUBLIC_FTP folder that I created in error. How do I get rid of that?
remwpgca
11 Points
2013-05-23 4:22 pm EST
A couple items. First, there must have been a temporary glitch in my c-panel file manager. I logged out, came back later and deleted the errant directory just fine. If anyone is using a temporary URL like me to create a new website, the correct text to put in your WP web page link is something like:
"http://biz136.inmotionhosting.com/~xxxxx/pdf/file_name.pdf " You can locate your temporary URL in your c-panel AMP under Account and billing details.
remwpgca
11 Points
2013-05-23 5:55 pm EST
Hello Remwpgca,

First - you do not need to worry about the temporary URL. It's a bit of a misnomer since the "temporary" url will not change.

I looked at your files, and I did not see any folders in the public_ftp folder (other than "incoming" - which is okay).

FYI - you can view this newly written article on adding media to Wordpress 3.5.1. I wrote it because we lacked some instructions on this issue in our Wordpress tutorials. If you review it, you can see that you did not have to make the directory outside of the Wordpress administrator dashboard. Also, if you changed it this way, then the URL link will be updated when update your WordPress configuration entries.

Hope that provides some further info! Thanks again for your patience!

Regards,

Arnel C.
Arn
17,325 Points
Staff
2013-05-24 1:10 am EST
Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!