instiki question

J

Joe Van Dyk

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
 
J

Joe Van Dyk

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.
 
A

Assaph Mehr

Joe said:
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
 
J

Joe Van Dyk

=20
Joe said:
=20
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=3D"file://shared_drive/directory/another directory/note the
spaces in the directory/my_document.doc">link name</a>
=20
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).
=20
HTH,
Assaph

That's too bad about Firefox actually... it would be nice to be able
to create links to shared drives in our web pages.
 
L

Lyndon Samson

------=_Part_4412_26611503.1125020026858
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Write a simple webbrick servlet that converts http style requests to=20
network.

Ie

http://myserver:myport/servefile?id=3D/a/b/c.pdf

code

def servefile(req, res)
fileName =3D "#{req.query['id']}"
fullFileName =3D "#{baseDir}/#{fileName}"
data =3D nil
File.open(fullFileName,"rb") { |f| data=3Df.read() }

res['Content-Type'] =3D "application/octet-stream"
res['Content-Disposition'] =3D "attachment; filename=3D\"#{fileNname}\";"=
=20
res.body =3D data
end


=20
=20
That's too bad about Firefox actually... it would be nice to be able
to create links to shared drives in our web pages.
=20
=20


--=20
Into RFID? www.rfidnewsupdate.com <http://www.rfidnewsupdate.com> Simple,=
=20
fast, news.

------=_Part_4412_26611503.1125020026858--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,503
Latest member
supremedee

Latest Threads

Top