In message <d8716a3051.rogerarm(a)rogerarm.freeuk.com>
Roger Darlington <rogerarm(a)freeuk.com> wrote:
In Netsurf, version r8643, the following code, in a MessPro e-mail,
works fine on my computer (accessing a local file):
file:///ADFS::IYO4.$.~Mine.WFF.!WildFlowers.Flowers.Y/YellowStagsho
rn/YellowStagshorn.htm
But on subsequent versions of Netsurf, including r10589, it does not
work. It gives 'file not found' a message issued by Netsurf.
The file it is looking for is:
/ADFS::IYO4.$.~Mine.WFF.!WildFlowers.Flowers.Y/YellowStagshorn/Yell
owStagshorn.htm
Note the leading '/'. This is where it is going wrong. It
wont find
the file because of this leading '/'.
But if I omit one of the '/'s in the line in the e-mail
thus:
file://ADFS::IYO4.$.~Mine.WFF.!WildFlowers.Flowers.Y/YellowStagshor
n/YellowStagshorn.htm
It still doesn't work.
I'm not surprised about the last bit of code, it is wrong, but
the
first bit should work, it worked before.
When I double-click a local file the URL in netsurf (r10592) still
starts file:///IDEFS and has the colons and dollar sign replaced by
%3A and %24 respectively
<file:///IDEFS%3A%3AHardDisc4.%24/Ant/Archery/www_panda-bowmen_org_uk/Basic~20Tu
ning.htm>
The more readable version
<file:///IDEFS::HardDisc4.$/Ant/Archery/www_panda-bowmen_org_uk/Basic~20Tuning.h
tm> also works fine.
I think the directory separator dots need to be replaced with slashes,
eg <file:///ADFS::IYO4.$/~Mine/WFF/!WildFlowers/Flowers/Y/YellowStagsh
orn/YellowStagshorn.htm>
Does this help?
Anthony
--
Anthony Hilton
ajh(a)tinshill.f9.co.uk