How to link to a file via relative path?
Posted: Thu Feb 06, 2020 6:50 pm
Hello,
i have a question about linking a file to a relative path.
The project have a file publisher where all related files are uploaded at publishing.
The file is in the folder "/pdf/filename.pdf"
If I use somewhere a button with linking a file from my computer, the "file" link is like d:///d:/path/etc" and it's not the desired method.
If I use in the link"/folder/filename.pdf", the path at export is "file:///directory/filename.pdf" and this is also bullshit.
How can i do it correct?
It is important for me to use relative path because it is a "portable" application.
How can i do this?
Thank you.
Many regards, Adrian
i have a question about linking a file to a relative path.
The project have a file publisher where all related files are uploaded at publishing.
The file is in the folder "/pdf/filename.pdf"
If I use somewhere a button with linking a file from my computer, the "file" link is like d:///d:/path/etc" and it's not the desired method.
If I use in the link"/folder/filename.pdf", the path at export is "file:///directory/filename.pdf" and this is also bullshit.
How can i do it correct?
It is important for me to use relative path because it is a "portable" application.
How can i do this?
Thank you.
Many regards, Adrian