|
-
Nov 14th, 2001, 10:21 AM
#1
Thread Starter
Fanatic Member
Linking my web page to a text file
Hi,
I have a text file on a pc that is remote to the inet server. I would like to link my html page to this text document.
I have tried:
<a href="\\RemotePc\SharedDirectory\FileName">hello world!</a>
but this does not work.
They are on the same network and everyone has full rights on the shared directory.
-
Nov 14th, 2001, 10:53 AM
#2
Black Cat
Use file:// for local files (which isn't local in this case, but it is part of the filesystem).
Code:
<a href="file://\\RemotePc\SharedDirectory\FileName">hello world!</a>
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Nov 14th, 2001, 11:05 AM
#3
Thread Starter
Fanatic Member
Thanks for the tip JoshT, but this is not working. I also noticed that
file//\\SharedFolder
at design time, changes to
file////ShareFolder
at run time?
-
Nov 14th, 2001, 12:34 PM
#4
Black Cat
Yeah, the backslashes are technically more correct as they are cross platform.
It works for me. Are you sure you're naming the file right?
Code:
<a href="file:////ComputerName/Shared/test.jpg">test</a>
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Nov 16th, 2001, 12:14 PM
#5
Black Cat
You're missing the : after file (file://)
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Nov 22nd, 2001, 02:17 AM
#6
Thread Starter
Fanatic Member
this is my exact code:
<a href="file://krf_tug_mqs/MessagesFiles/<%=rserrors.fields("message").value%>">
It does not redirect me to the file. It adds the above to the current address that I am on.
-
Nov 22nd, 2001, 09:50 AM
#7
PowerPoster
it works fine for me....i just tested it
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|