[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.epf] Re: How to provide link to a file

Thanks, but I tried this and unfortunately it doesn't work.

When the link starts with //, the final link will be interpreted in relative terms, so you'll end up with something like http://www.yourwebsite.com/EPF/workproducts///servername/DFS_Root/SharedDocs/Database.mdb

As a workaround, I ended up moving the .mdb file into a subfolder under the workproducts subfolder under the final EPF folder on the server where the website is hosted, and take advantage of the relativeness of the link to go there, so I enter the URL link in the EPF editor to be something like ./MyDatabase/Database.mdb and so the final link ends up as
http://www.yourwebsite.com/EPF/workproducts/MyDatabase/Database.mdb


This is not a real solution as far as difficulties with EPF's editing tool is concerned, so if anybody including the EPF gurus have an answer, it would be appreciated all the same.



daniel wrote:

I have an idea:
1,in the rich edit page, you select url type,and input: //servername/DFS_Root/SharedDocs/Database.mdb
2,switch to html code page,you will see EPF cut //,
you must add // by yourself.

So, your link address is file://servername/DFS_Root/SharedDocs/Database.mdb


Alex wrote:

Hi. I have a rather "newbie" question, but since I couldn't find the answer anywhere else, maybe this is the right forum.

I'm trying to add a link to a file on a shared folder, say,
file://servername/DFS_Root/SharedDocs/Database.mdb

In the editor, both methods of adding a hyperlink don't seem to work for me. Once I select the text and click on the hyperlink button:

1) If I choose the "URL" type, it always trims the "file:" part, leaving this to be a relative link that starts with "servername/DFS_....", which consequently be translated incorrectly as a local link. Overriding it in the HTML tab as an "http://servername/..."; doesn't seem to work either since it will self-correct. Changing into using instead of / didn't work either since it will auto-correct and remove the 's.

2) If I choose the "File" type, it actually picks up the file and puts it under resources folder and refer to it (the link will be transformed into something like <a href="./resources/Database.mdb" target="_blank"> which is not I want since I don't want EPF to retain a local copy. Size of the resulting published website also grows accordingly to the size of the file.

Any feedback on how I can do this?

Thanks in advance for anybody's help.

p.s. I'm still using the older v.1.0.2a EPF Composer, but I didn't see this being a bug that was fixed in later version anyway (unless I missed it).