URL Link to PDF on S-Drive

User 2837464 Photo


Registered User
32 posts

Can I please have help with the URL link to a PDF on S-Drive. My site is hosted on S-Drive and within the site I would like to reference PDF documents.

- Marty
User 122279 Photo


Senior Advisor
14,651 posts

Just add the pdf file to the 'resources' and link to it. When you have uploaded your site, the file will be there.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2837464 Photo


Registered User
32 posts

Inger

Maybe or probably I do not follow. If you look at this page:

http://www.skincarescience.com/advanced … links.html

The Link currently goes to the return page but I want it to go to a NEW window showing the PDF.

Currently I have a folder called Education with a file inside of it. So the natural link would be???

- Marty
User 2837464 Photo


Registered User
32 posts

Hold a second. Link to it meaning "Not a Text Link". Meaning Link to it and what link would that be?

Button Link or ?

Because what I am after is an HREF link from a text link but it sounds to me like I cannot have that. I am confused on this one for sure.

- Marty
User 2837464 Photo


Registered User
32 posts

So I tried this:

http://www.SITENAME/RESOURCEFOLDERNAME/NAME.pdf

No luck.

- Marty
User 2837464 Photo


Registered User
32 posts

I got it... ;)

/Folder Name/PDF Name

- Marty
User 2823310 Photo


Registered User
312 posts

I don't know if this will help with making link paths for you?
/ means the root of the current drive;
./ means the current directory;
../ means the parent of the current directory.

A reference: https://css-tricks.com/quick-reminder-about-file-paths/

So in RSD if you attach an image or pdf to your project folder
or "root" (main) directory the path is
/name.jpg
or
/name.pdf

If you do it like I do and put your files inside a folder (directory) in project resources
for example one called "images" the path would be;
./images/name.jpg
or in case of a pdf in that images directory it would be
./images/name.pdf

name being the specific name of the file,
plus upper & lower case counts on some servers so
Name.jpg
is different than
name.jpg
on a window server vs an apache for example so always match the case too.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.