file: protocol in URL generator in Windows

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

file: protocol in URL generator in Windows

Ethan Gruber
Is it possible to use the file: protocol in the URL generator processor with a Windows path? I can't figure out the correct syntax, e.g.,

file:/D:/blah/blah.xml

This doesn't look correct to me, and naturally, it doesn't work.

Ethan

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: file: protocol in URL generator in Windows

Erik Bruchez
Administrator
Ethan,

It should be possible, because I think we just passe that directly to the URL handler.

Did you try with one, two or three slashes?

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: file: protocol in URL generator in Windows

Ethan Gruber
I tried with two prepended to the filesystem path, actually.  On a Linux system, file:///usr/local/projects/blah/blah.xml works. In Windows, file://D:/blah/blah.xml doesn't. Does the URL generator expect 1 or 3 in Windows?

Ethan

On Friday, September 19, 2014 6:09:10 PM UTC-4, ebruchez wrote:
Ethan,

It should be possible, because I think we just passe that directly to the
URL handler.

Did you try with one, two or three slashes?

-Erik

--
View this message in context: <a href="http://discuss.orbeon.com/file-protocol-in-URL-generator-in-Windows-tp4658979p4658984.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.orbeon.com%2Ffile-protocol-in-URL-generator-in-Windows-tp4658979p4658984.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFR2cb37Fj-1I9D79j9uQHfAkEcyg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.orbeon.com%2Ffile-protocol-in-URL-generator-in-Windows-tp4658979p4658984.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFR2cb37Fj-1I9D79j9uQHfAkEcyg';return true;">http://discuss.orbeon.com/file-protocol-in-URL-generator-in-Windows-tp4658979p4658984.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: file: protocol in URL generator in Windows

Alessandro  Vernet
Administrator
Hi Ethan,

I don't have a Windows system handy to test this, but looking this up I'm finding examples with 3 slashes for Windows file: URLs, as in file:///D:/blah/blah.xml. Have you tried that already?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: file: protocol in URL generator in Windows

Ethan Gruber
Hi Alex,

I've confirmed that file:///C:/... works.

Thanks,
Ethan

On Wed, Sep 24, 2014 at 8:39 PM, Alessandro Vernet <[hidden email]> wrote:
Hi Ethan,

I don't have a Windows system handy to test this, but looking this up I'm
finding examples with 3 slashes for Windows file: URLs, as in
file:///D:/blah/blah.xml. Have you tried that already?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
View this message in context: http://discuss.orbeon.com/file-protocol-in-URL-generator-in-Windows-tp4658979p4659010.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Orbeon Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orbeon/WV4lwCppCEE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: file: protocol in URL generator in Windows

Erik Bruchez
Administrator
Excellent, thanks for confirming. -Erik