Need to access files using UNC convention

Matthew Flaschen matthew.flaschen at gatech.edu
Fri Oct 23 01:07:36 UTC 2009


pclapham at windstream.net wrote:
> Hi -- 
>  
> I have an application that evidently needs to be able to access files whose file 
> names are in UNC format (e.g. //fire/work/filename).  When I try to access such 
> a file I get an error message.

First of all, UNC format uses backslashes
(http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx).
E.g. \\?\UNC\server\share .  However, on POSIX, "A pathname that begins
with two successive slashes may be interpreted in an
implementation-defined manner."
(http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11)

Of course, there are many other path and URL schemes (see
http://en.wikipedia.org/wiki/Path_(computing) for a start).  You should
provide as many details as possible.  Is this a Windows application
you're running through wine?  Where are the files you're trying to
access really stored/accessible (e.g. smb share, local filesystem, http,
etc. ?)

Matthew Flaschen




More information about the ubuntu-users mailing list