sdayman’s suggestion is the best way to do it.
However, for future reference, if you need to upload a file and link to it manually, be sure of 2 things:
You are uploading the file under web root.
You’re using proper relative paths in your link (or just use an absolute path).
On dreamhost, your web root will be something like:
So if you upload to that directory or any subdirectories, your file will be accessible. If you upload outside of that directory, then the file will not be directly accessible (good idea for sensitive files, like database configurations or password files).
The relative paths you use in your links will depend on where you upload to, and where the page containing the link is located.
E.g. if the file is located at /home/bob/domain.com/foo/bar.pdf, then you’d use the following relative paths for each respective web page location:
link url: foo/bar.pdf
link url: bar.pdf
link url: ../bar.pdf
But it’s generally easier to just use an absolute path, in which case you would use the following from any web page you wanted to link from:
And if you’re linking across domains or subdomains, then you need to use absolute urls regardless.