I've got a document on a network drive that I want to share on our
internal wiki. How can I link to that document?
The document is at something like \\shared_drive\directory\another
directory\note the spaces in the directory\my_document.doc
I've got a document on a network drive that I want to share on our
internal wiki. How can I link to that document?
The document is at something like \\shared_drive\directory\another
directory\note the spaces in the directory\my_document.doc
I've tried "link name":\\shared_drive\directory\another directory\note
the spaces in the directory\my_document.doc
But that fails miserably as you could probably guess.
On Tue, 29 Mar 2005 16:23:01 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
I've got a document on a network drive that I want to share on our
internal wiki. How can I link to that document?The document is at something like \\shared_drive\directory\another
directory\note the spaces in the directory\my_document.doc
Joe Van Dyk wrote:
> I've got a document on a network drive that I want to share on our
> internal wiki. How can I link to that document?
>
> The document is at something like \\shared_drive\directory\another
> directory\note the spaces in the directory\my_document.doc
>I've tried "link name":\\shared_drive\directory\another
directory\note
the spaces in the directory\my_document.doc
But that fails miserably as you could probably guess.
It's a textile issue, not Instiki. As far I know you can't do it this
way in textile, but you can fall back on HTML:
<a href="file://shared_drive/directory/another directory/note the
spaces in the directory/my_document.doc">link name</a>
This will work via MSIE but not with Firefox (which is a point in
favour of firefox, it not being a great gaping hole into your
network).
HTH,
Assaph
On Tue, 29 Mar 2005 16:23:01 -0800, Joe Van Dyk <joevandyk@gmail.com> wrote:
That's too bad about Firefox actually... it would be nice to be able
to create links to shared drives in our web pages.
On 3/29/05, Assaph Mehr <assaph@gmail.com> wrote:
Joe Van Dyk wrote:
> On Tue, 29 Mar 2005 16:23:01 -0800, Joe Van Dyk <joevandyk@gmail.com> > wrote:
> > I've got a document on a network drive that I want to share on our
> > internal wiki. How can I link to that document?
> >
> > The document is at something like \\shared_drive\directory\another
> > directory\note the spaces in the directory\my_document.doc
> >
>
> I've tried "link name":\\shared_drive\directory\another
directory\note
> the spaces in the directory\my_document.doc
>
> But that fails miserably as you could probably guess.It's a textile issue, not Instiki. As far I know you can't do it this
way in textile, but you can fall back on HTML:
<a href="file://shared_drive/directory/another directory/note the
spaces in the directory/my_document.doc">link name</a>This will work via MSIE but not with Firefox (which is a point in
favour of firefox, it not being a great gaping hole into your
network).HTH,
Assaph
Write a simple webbrick servlet that converts http style requests to
network.
Ie
http://myserver:myport/servefile?id=/a/b/c.pdf
code
def servefile(req, res)
fileName = "#{req.query['id']}"
fullFileName = "#{baseDir}/#{fileName}"
data = nil
File.open(fullFileName,"rb") { |f| data=f.read() }
res['Content-Type'] = "application/octet-stream"
res['Content-Disposition'] = "attachment; filename=\"#{fileNname}\";"
res.body = data
end
On 8/26/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
On 3/29/05, Assaph Mehr <assaph@gmail.com> wrote:
>
> Joe Van Dyk wrote:
> > On Tue, 29 Mar 2005 16:23:01 -0800, Joe Van Dyk <joevandyk@gmail.com> > > wrote:
> > > I've got a document on a network drive that I want to share on our
> > > internal wiki. How can I link to that document?
> > >
> > > The document is at something like \\shared_drive\directory\another
> > > directory\note the spaces in the directory\my_document.doc
> > >
> >
> > I've tried "link name":\\shared_drive\directory\another
> directory\note
> > the spaces in the directory\my_document.doc
> >
> > But that fails miserably as you could probably guess.
>
> It's a textile issue, not Instiki. As far I know you can't do it this
> way in textile, but you can fall back on HTML:
> <a href="file://shared_drive/directory/another directory/note the
> spaces in the directory/my_document.doc">link name</a>
>
> This will work via MSIE but not with Firefox (which is a point in
> favour of firefox, it not being a great gaping hole into your
> network).
>
> HTH,
> AssaphThat's too bad about Firefox actually... it would be nice to be able
to create links to shared drives in our web pages.
--
Into RFID? www.rfidnewsupdate.com <http://www.rfidnewsupdate.com> Simple,
fast, news.