Translation of \\foo\bar links into smb://foo/bar links
Richard Smith
kde at metafoo.co.uk
Tue Jan 18 21:00:29 GMT 2005
On Tuesday 18 January 2005 18:25, Jason Keirstead wrote:
> On Tuesday 18 January 2005 2:20 pm, Stephan Kulow wrote:
> > If you want that, you might add a special hack in the file slave that
> > redirects to smb: if it doesn't find a file.
>
> That seems really weird - any non-existant file will search the network?
You could combine the non-existent test with a test for starts-with-\\...
> A URL pointing at a file should never start with \\, right? So, why
> couldn't you test on that?
# mkdir '/\\server\share\path\Functional Spec.doc'
$ konqueror 'file:///\\server\share\path\Functional Spec.doc'
Works for me. Takes me to /\\server\share\path\Functional Spec.doc/, just as
it should.
--
Thanks,
Richard
More information about the kde-core-devel
mailing list