Upload files for simple download URL?
I am a website owner (my site was built for me but I am having trouble getting my questions answered by the developer). My knowledge is scant!
I would like to upload some pdf files onto the website through cpanel to make them available for download. I added a "downloads" folder to the public_html folder and placed them in there, but would like to be able to open them with a fairly simple pathway eg. wesbite/downloads/filename rather than a string that is 200 characters in length.
I seem to recall doing it a number of years ago, but it seems to have changed (not surprising given the length of time I guess!)
Any guidance to achieving this aim would be much appreciated.
-
rather than a string that is 200 characters in length.
I'm not sure what this means. example.com/files/doc.pdf is not what you want?0 -
Info pro, that is exactly what I want - the simplest pathway possible. Where can I upload files so that that is the case? 0 -
In my example above, example.com is the public_html/ directory on your account. So you'd create a directory inside public_html/ called files, if needed to keep things organized, and then upload your pdf files to it. 0 -
If what infopro is decribing doesn't work, it may because of rewrites your main site is using. In cases like that, what we suggest is that you make s ubdomain and make sure its root is in /home/user/subdomain and no in /home/user/public_html/subdomain. In this way you can make files.example.com, upload the files to /home/user/files/ and then they are avialble as 0 -
Thankyou! Working now :D 0
Please sign in to leave a comment.
Comments
5 comments