[ciapug] File linking over mapped network drives

David Champion ciapug@cialug.org
Mon, 17 May 2004 15:00:36 -0500


I really don't like hard-linking to a drive letter... does everyone in 
the company have "R:" mapped to the same location? What if that mapping 
changes?

If the intranet server can see the file server, you could also look at 
mapping the drive as a smb mount on the server, that way the directory 
mapping is totally server side. That's done with a command like:

mount -t smbfs ...

-dc

Chris Hettinger wrote:

> Curious,
> 
> I am listing links to PDF files on html page, the files are stored on a 
> network drive that my machine has a drive mapped to (R:).
> 
> I am pulling the file path (R:\dir\) and file name (filename.pdf) from a 
> database, then constructing the link to the file.
> 
> However when I click on the link nothing is happening.
> 
> I went back and added the 'file' prefix but that isn't making a 
> difference. I thought of the prefix after opening a local document in a 
> browser it appends 'file:///' before the file path... though I may need 
> to do that.
> 
> ex: file:///R:\dir\filename.pdf
> 
> R: is the drive mapping and will be mapped the same for all of our users.
> 
> Again the issue is that clicking the link seems to trigger nothing.
> 
> 
> Thanks for any thought on this.
> -ch
> _______________________________________________
> ciapug mailing list
> ciapug@cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>